aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorJohn Keeping <[email protected]>2018-03-31 13:57:22 +0000
committerJason A. Donenfeld <[email protected]>2018-06-27 16:11:19 +0000
commitf0047d2d943788fed2666e1d20c1e0d3c16701d5 (patch)
tree05079c78cab3b64fd455698c36adc56a23e57a79 /ui-shared.c
parentui-snapshot: filter permitted snapshot requests (diff)
downloadcgit-f0047d2d943788fed2666e1d20c1e0d3c16701d5.tar.gz
cgit-f0047d2d943788fed2666e1d20c1e0d3c16701d5.zip
ui-refs: remove unnecessary sanity check
There is no way for refinfo::refname to be null, and Git will prevent zero-length refs so this check is unnecessary. Signed-off-by: John Keeping <[email protected]> Reviewed-by: Christian Hesse <[email protected]>
Diffstat (limited to 'ui-shared.c')
0 files changed, 0 insertions, 0 deletions