Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-03-07 00:51:54 +0400
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-20 23:21:17 +0400
commit6d8a789d61f3a682bc040f1f7f44050b1f723546 (patch)
tree2cfcfee69d573bd837638bcbde318514a3621876 /scan-tree.h
parentd5a43b429a4248a02e3a403f76fff0cbae92ef32 (diff)
ui-shared: fix return type of cgit_self_link
cgit_self_link() is a void function but implements each case it handles by doing "return <another_void_function>" which is not valid C; section 6.8.6.4 of C11 says: A return statement with an expression shall not appear in a function whose return type is void. Fix this by removing the return keywords and converting the final code block into an "else". Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'scan-tree.h')
0 files changed, 0 insertions, 0 deletions