author | Max Kellermann <max@duempel.org> | |
Mon, 15 Sep 2008 11:27:32 +0000 (13:27 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 15 Sep 2008 11:27:32 +0000 (13:27 +0200) | ||
commit | 9385f83268296e70b4259c3e40dee747f40468a6 | |
tree | f8a1b69cb4ba7f8951ebc195d26b36d834164c17 | tree | snapshot |
parent | e7981e0e28541e5046c40879a4fdbcc308f143ec | commit | diff |
don't declare local variable "options"
In main.c, the global variable "options" is used all over, except in
main(), which contains a shadowing declaration of it. Remove this
local variable, and use the global "options" instead. Also don't
pollute conf.c's namespace with the global variable with a CPP hack
(to be removed when we have fixed more of ncmpc's namespace
pollution).
In main.c, the global variable "options" is used all over, except in
main(), which contains a shadowing declaration of it. Remove this
local variable, and use the global "options" instead. Also don't
pollute conf.c's namespace with the global variable with a CPP hack
(to be removed when we have fixed more of ncmpc's namespace
pollution).
src/conf.c | diff | blob | history | |
src/main.c | diff | blob | history | |
src/options.h | diff | blob | history |