mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Remove warnings
* Remove assigned but not used variables (GCC 4.6) * Bump _XOPEN_SOURCE to 600, ridding of FreeBSD warnings (this probably need to be tweaked on a per-implementation basis as problems arise)
This commit is contained in:
committed by
Carlos R. Mafra
parent
43c7abe79f
commit
f65b99e615
@@ -56,7 +56,7 @@ void print_help(int print_usage, int exitval)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
char path[PATH_MAX];
|
||||
WMPropList *dom, *key, *value, *dict;
|
||||
WMPropList *key, *value, *dict;
|
||||
int ch;
|
||||
|
||||
struct option longopts[] = {
|
||||
@@ -87,7 +87,6 @@ int main(int argc, char **argv)
|
||||
if (argc != 3)
|
||||
print_help(0, 1);
|
||||
|
||||
dom = WMCreatePLString(argv[0]);
|
||||
key = WMCreatePLString(argv[1]);
|
||||
value = WMCreatePropListFromDescription(argv[2]);
|
||||
if (!value) {
|
||||
|
||||
Reference in New Issue
Block a user