projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tap-driver.sh: flush stdout after each test result
[babeltrace.git]
/
fd-cache
/
fd-cache.c
diff --git
a/fd-cache/fd-cache.c
b/fd-cache/fd-cache.c
index e12583a08743869a3265462cc4cd87c877d81de1..fcd4f4c201b4bbc9620d1dfb392debd18d1661da 100644
(file)
--- a/
fd-cache/fd-cache.c
+++ b/
fd-cache/fd-cache.c
@@
-35,8
+35,8
@@
#include <unistd.h>
#include <glib.h>
#include <unistd.h>
#include <glib.h>
-#include <babeltrace/assert-internal.h>
-#include <babeltrace/fd-cache-internal.h>
+#include <babeltrace
2
/assert-internal.h>
+#include <babeltrace
2
/fd-cache-internal.h>
struct file_key {
uint64_t dev;
struct file_key {
uint64_t dev;
@@
-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);
}
g_hash_table_insert(fdc->cache, fd_internal->key, fd_internal);
}
- BT_ASSERT(fd_internal->ref_count >= 0);
-
fd_internal->ref_count++;
goto end;
fd_internal->ref_count++;
goto end;
This page took
0.026191 seconds
and
4
git commands to generate.