diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-11-27 22:04:53 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-11-27 22:05:02 -0500 |
commit | 41725289827500e8055014cd6126af877022dbaa (patch) | |
tree | eac1d0d817839659d75302faa610cb2e3c5e688c | |
parent | d4ab6ef08723c2c47802fd56222bf6105919ec3b (diff) | |
download | expac-41725289827500e8055014cd6126af877022dbaa.tar.xz |
squelch compiler warnings
-rw-r--r-- | conf.c | 2 | ||||
-rw-r--r-- | expac.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ static size_t strtrim(char *str) return right - left; } -int is_section(const char *s, int n) +static int is_section(const char *s, int n) { return s[0] == '[' && s[n-1] == ']'; } @@ -839,7 +839,7 @@ static alpm_list_t *process_targets(int argc, char **argv) int main(int argc, char *argv[]) { alpm_list_t *results = NULL, *targets = NULL; - expac_t *expac; + expac_t *expac = NULL; int r; r = parse_options(&argc, &argv); |