author | Johan Herland <johan@herland.net> | 2010-06-09 23:09:23 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 08:40:21 (UTC) |
commit | 026980c270354c59b8a192f5e6db7efe9c66dd62 (patch) (side-by-side diff) | |
tree | 3290b0a03a4b306e3ef726ac2d10710f18bdc9f0 | |
parent | 9ce5d05f86f64dfad589e0ec58bb1e06a76d2d8c (diff) | |
download | cgit-026980c270354c59b8a192f5e6db7efe9c66dd62.zip cgit-026980c270354c59b8a192f5e6db7efe9c66dd62.tar.gz cgit-026980c270354c59b8a192f5e6db7efe9c66dd62.tar.bz2 |
Remove unused variable in shared.c
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | shared.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1,29 +1,28 @@ /* shared.c: global vars + some callback functions * * Copyright (C) 2006 Lars Hjemli * * Licensed under GNU General Public License v2 * (see COPYING for full license text) */ #include "cgit.h" struct cgit_repolist cgit_repolist; struct cgit_context ctx; -int cgit_cmd; int chk_zero(int result, char *msg) { if (result != 0) die("%s: %s", msg, strerror(errno)); return result; } int chk_positive(int result, char *msg) { if (result <= 0) die("%s: %s", msg, strerror(errno)); return result; } int chk_non_negative(int result, char *msg) |