From: Felix Fietkau Date: Sat, 23 Aug 2008 09:44:07 +0000 (+0200) Subject: work around a gcc optimizer bug X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=3b7f28bf504d575555aac3c71343976650029042;hp=edb952a2974c82b76e2bb85d1de58cc461e14601 work around a gcc optimizer bug --- diff --git a/history.c b/history.c index 789cd87..a31dbfa 100644 --- a/history.c +++ b/history.c @@ -318,7 +318,7 @@ static void uci_filter_history(struct uci_context *ctx, const char *name, const done: if (filename) free(filename); - uci_close_stream(f); + uci_close_stream(pctx->file); uci_foreach_element_safe(&list, tmp, e) { uci_free_element(e); }