Fix type-limits warnings, uint can't be < 0
[babeltrace.git] / fd-cache / fd-cache.c
index e12583a08743869a3265462cc4cd87c877d81de1..7e78fcb2c1e4ddd0375d28be332679bb91b4dca4 100644 (file)
@@ -189,8 +189,6 @@ struct bt_fd_cache_handle *bt_fd_cache_get_handle(struct bt_fd_cache *fdc,
                g_hash_table_insert(fdc->cache, fd_internal->key, fd_internal);
        }
 
-       BT_ASSERT(fd_internal->ref_count >= 0);
-
        fd_internal->ref_count++;
        goto end;
 
This page took 0.023766 seconds and 4 git commands to generate.