mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
WPrefs: Fixed compiler warnings
This patch is used to catch some return function value, to make the compiler happy.
This commit is contained in:
committed by
Carlos R. Mafra
parent
278fdfa1db
commit
aa890c8868
@@ -714,7 +714,8 @@ static void storeCommandInScript(const char *cmd, const char *line)
|
||||
wfree(tmppath);
|
||||
}
|
||||
sprintf(buffer, "chmod u+x %s", path);
|
||||
system(buffer);
|
||||
if (system(buffer) == -1)
|
||||
werror(_("could not execute command \"%s\""), buffer);
|
||||
|
||||
end:
|
||||
wfree(path);
|
||||
|
||||
Reference in New Issue
Block a user