summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-01-07 17:37:53 +0100
committerQC <qball@gmpclient.org>2015-01-07 17:37:53 +0100
commit19d8ce279b82251dd0a16937e8adc557065f677d (patch)
treef7049bbf1eccf3be4d119f0ccc40a158e7d44a1a
parent8ef5a84711a4a848f5e1e212e3a9cd92b65c06bf (diff)
Initialize savept to NULL. (coverity)
-rw-r--r--source/rofi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rofi.c b/source/rofi.c
index a92981df..92de833e 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -2294,7 +2294,7 @@ static void config_sanity_check ( void )
*/
static void setup_switchers ( void )
{
- char *savept;
+ char *savept = NULL;
char *switcher_str = g_strdup ( config.switchers );
char *token;
// Split token on ','. This modifies switcher_str.