diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-12 19:19:48 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-13 20:24:39 -0400 |
commit | 7914d6bba47a21b98617d04c992a9075ff5af4c0 (patch) | |
tree | a67a19ee937f5d8691a393268e9743a6be01cc9d /src/locale | |
parent | 69aec65cf8da55e400cf0a4f213b0a48268ca19f (diff) |
Remove a few NULLs
Just {} is used in a lot of places now, and there's nothing
special abose those few.
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/localed.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c index 23fbde0df1..e160c046a4 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c @@ -118,21 +118,7 @@ static const char * const names[_PROP_MAX] = { [PROP_LC_IDENTIFICATION] = "LC_IDENTIFICATION" }; -static char *data[_PROP_MAX] = { - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL -}; +static char *data[_PROP_MAX] = {}; typedef struct State { char *x11_layout, *x11_model, *x11_variant, *x11_options; |