diff options
author | Thomas Haller <thaller@redhat.com> | 2019-08-01 17:24:55 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-08-01 17:24:55 +0200 |
commit | 9a229241f96ce48f77baa442b1b6aeac9d8489cb (patch) | |
tree | e873b89256e25d18fcd720b3a70fd4580d79a695 /shared | |
parent | 0fbb54839e3f1b5309fa3d81cf8821b2fa1ed1e0 (diff) | |
download | NetworkManager-9a229241f96ce48f77baa442b1b6aeac9d8489cb.tar.gz |
shared: fix non-serious bug with bogus condition in assertion in nm_key_file_db_ref()
Diffstat (limited to 'shared')
-rw-r--r-- | shared/nm-glib-aux/nm-keyfile-aux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/nm-glib-aux/nm-keyfile-aux.c b/shared/nm-glib-aux/nm-keyfile-aux.c index 0257bcca7f..989c773f23 100644 --- a/shared/nm-glib-aux/nm-keyfile-aux.c +++ b/shared/nm-glib-aux/nm-keyfile-aux.c @@ -125,7 +125,7 @@ nm_key_file_db_ref (NMKeyFileDB *self) g_return_val_if_fail (_IS_KEY_FILE_DB (self, FALSE, TRUE), NULL); - nm_assert (self->ref_count <= G_MAXUINT); + nm_assert (self->ref_count < G_MAXUINT); self->ref_count++; return self; } |