diff options
author | Nanako Shiraishi <nanako3@lavabit.com> | 2008-10-02 19:14:27 +0900 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-10-02 18:03:35 -0700 |
commit | 0433bcd9f01b9113a02831c13e364c6a89a0047a (patch) | |
tree | 45d1ea4a2176a496e00e75e0213ba28a9a7c7dc1 /config.c | |
parent | 7996ff335e675b229398974f6cbf459843c9bf6d (diff) | |
download | git-0433bcd9f01b9113a02831c13e364c6a89a0047a.tar.gz |
config.c: make git_parse_long() static
This function is not used in any other file.
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -274,7 +274,7 @@ static int parse_unit_factor(const char *end, unsigned long *val) return 0; } -int git_parse_long(const char *value, long *ret) +static int git_parse_long(const char *value, long *ret) { if (value && *value) { char *end; @@ -310,7 +310,7 @@ static void die_bad_config(const char *name) int git_config_int(const char *name, const char *value) { - long ret; + long ret = 0; if (!git_parse_long(value, &ret)) die_bad_config(name); return ret; |