From b94aaf81d04f87cfcfde76b68876fbc0d27a8deb Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Mon, 12 Nov 2012 08:54:33 -0600 Subject: Code audit: fix compile warnings, uninitialized pointer problems --- mate-panel/panel-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mate-panel/panel-util.c') diff --git a/mate-panel/panel-util.c b/mate-panel/panel-util.c index 4f081a4b..2259aff3 100644 --- a/mate-panel/panel-util.c +++ b/mate-panel/panel-util.c @@ -654,7 +654,7 @@ panel_make_unique_desktop_uri (const char *dir, p = strrchr (name, '-'); if (p) { char *end; - strtol ((p + 1), &end, 10); + (void) strtol ((p + 1), &end, 10); if (!*end) *p = '\0'; } -- cgit v1.2.1