diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2009-11-05 22:29:38 +0100 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-11-07 17:07:05 -0500 |
| commit | fa0ae17adbc8f73b707c33836d37841e81b9303a (patch) | |
| tree | dc6aaf1f7cd386f3d0c0862bd9985486c9b58aca /openbox/config.c | |
| parent | a170ad7c85b5f23fafe64d28a3f183a7ce42ce53 (diff) | |
Make clang happier
Add asserts to default: in switch statements
Store pointed to variables locally so it knows they don't change
Remove some dead assignments
Mark ob_exit_with_error as noreturn
Use "%s", msg instead of just msg to printf style functions
Use the c_pfocus variable
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/config.c b/openbox/config.c index e3be728e..9e111b84 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -200,7 +200,7 @@ static void parse_per_app_settings(xmlNodePtr node, gpointer d) gboolean x_pos_given; while (app) { - name_set = class_set = type_set = x_pos_given = FALSE; + x_pos_given = FALSE; class_set = obt_parse_attr_string(app, "class", &class); name_set = obt_parse_attr_string(app, "name", &name); |
