mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
WPrefs: Dead code removal
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
2913ac0f09
commit
070f0ad8f4
@@ -1602,15 +1602,12 @@ static WMPropList *processData(const char *title, ItemData * data)
|
||||
case ExecInfo:
|
||||
if (data->param.exec.command == NULL)
|
||||
goto return_null;
|
||||
#if 1
|
||||
|
||||
if (strpbrk(data->param.exec.command, "&$*|><?`=;")) {
|
||||
s1 = "SHEXEC";
|
||||
} else {
|
||||
s1 = "EXEC";
|
||||
}
|
||||
#else
|
||||
s1 = "SHEXEC";
|
||||
#endif
|
||||
|
||||
if (notblank(data->param.exec.shortcut)) {
|
||||
WMAddToPLArray(item, pscut);
|
||||
|
||||
Reference in New Issue
Block a user