about summary refs log tree commit diff
path: root/cgit.css
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-03-06 20:51:54 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-20 20:21:17 +0100
commit6d8a789d61f3a682bc040f1f7f44050b1f723546 (patch)
tree2cfcfee69d573bd837638bcbde318514a3621876 /cgit.css
parentt0107-snapshot: add tests for ZIP archives (diff)
downloadcgit-pink-6d8a789d61f3a682bc040f1f7f44050b1f723546.tar.gz
cgit-pink-6d8a789d61f3a682bc040f1f7f44050b1f723546.zip
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 '')
0 files changed, 0 insertions, 0 deletions
13264d92bc84a8a2a133d9b55b6820fcad44806&follow=1'>Add The Girl Who Was Convinced...June McEnroe 2024-06-09Add photos from May 31June McEnroe 2024-06-09Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe