Changeset 90a45b8 for set.c


Ignore:
Timestamp:
2016-12-26T22:38:32Z (7 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
d57484d
Parents:
26eed8a
git-author:
dequis <dx@…> (26-12-16 02:17:28)
git-committer:
dequis <dx@…> (26-12-16 22:38:32)
Message:

Fix some clang static analyzer warnings

Nothing interesting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.c

    r26eed8a r90a45b8  
    165165        /* If there's a default setting and it's equal to what we're trying to
    166166           set, stick with s->value = NULL. Otherwise, remember the setting. */
    167         if (!s->def || (strcmp(nv, s->def) != 0)) {
     167        if (!s->def || (g_strcmp0(nv, s->def) != 0)) {
    168168                s->value = g_strdup(nv);
    169169        }
Note: See TracChangeset for help on using the changeset viewer.