From 41725289827500e8055014cd6126af877022dbaa Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 27 Nov 2014 22:04:53 -0500 Subject: squelch compiler warnings --- conf.c | 2 +- expac.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.c b/conf.c index aef4cbf..09889f6 100644 --- a/conf.c +++ b/conf.c @@ -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] == ']'; } diff --git a/expac.c b/expac.c index d89e072..1039e34 100644 --- a/expac.c +++ b/expac.c @@ -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); -- cgit v1.2.3-54-g00ecf