From 9f0f86150e9bf14760e155768dcb7df682257327 Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Mon, 18 Apr 2016 17:05:12 +1000 Subject: Fix sparse warnings Fix some sparse warnings by using NULL instead of 0 and static-ifying a variable not used outside its file. Signed-off-by: Andrew Donnellan Signed-off-by: Samuel Mendoza-Jonas --- ui/ncurses/generic-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/ncurses') diff --git a/ui/ncurses/generic-main.c b/ui/ncurses/generic-main.c index 669053c..27744d4 100644 --- a/ui/ncurses/generic-main.c +++ b/ui/ncurses/generic-main.c @@ -149,7 +149,7 @@ static char *default_log_filename(void) return name; } -struct cui *cui; +static struct cui *cui; /* * struct pb_cui - Main cui program instance. -- cgit v1.2.1