summaryrefslogtreecommitdiff
path: root/mate-panel/panel-util.c
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2012-11-12 08:54:33 -0600
committerScott Balneaves <[email protected]>2012-11-12 08:54:33 -0600
commitb94aaf81d04f87cfcfde76b68876fbc0d27a8deb (patch)
treea508028c3e29b1fd74d50fb7226625a128cb7500 /mate-panel/panel-util.c
parentcc9615065c128be5924a12df50abfda0c6b74a3a (diff)
downloadmate-panel-b94aaf81d04f87cfcfde76b68876fbc0d27a8deb.tar.bz2
mate-panel-b94aaf81d04f87cfcfde76b68876fbc0d27a8deb.tar.xz
Code audit: fix compile warnings, uninitialized pointer problems
Diffstat (limited to 'mate-panel/panel-util.c')
-rw-r--r--mate-panel/panel-util.c2
1 files changed, 1 insertions, 1 deletions
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';
}