Fix a Coverity warning caused by previous commits.
authorAndrej Kacian <ticho@claws-mail.org>
Wed, 2 Mar 2016 06:35:25 +0000 (07:35 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Wed, 2 Mar 2016 06:35:25 +0000 (07:35 +0100)
src/prefs_gtk.c

index 5fbeb1f..44b6f4f 100644 (file)
@@ -346,7 +346,7 @@ gint prefs_write_param(PrefParam *param, FILE *fp)
                        break;
                }
                case P_PASSWORD:
                        break;
                }
                case P_PASSWORD:
-                       break;
+                       return 0; /* Passwords are written to password store. */
                case P_INT:
                        g_snprintf(buf, sizeof(buf), "%s=%d\n", param[i].name,
                                   *((gint *)param[i].data));
                case P_INT:
                        g_snprintf(buf, sizeof(buf), "%s=%d\n", param[i].name,
                                   *((gint *)param[i].data));