shared: fix non-serious bug with bogus condition in assertion in nm_key_file_db_ref()

(cherry picked from commit 9a229241f9)
This commit is contained in:
Thomas Haller
2019-08-01 17:24:55 +02:00
parent d84d1db39e
commit f804bc7007

View File

@@ -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;
}