projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7897496
)
Actually return newly-created structs.
author
Omari Stephens
<xsdg@google.com>
Mon, 10 Jul 2017 08:06:21 +0000
(08:06 +0000)
committer
Omari Stephens
<xsdg@google.com>
Mon, 10 Jul 2017 08:06:21 +0000
(08:06 +0000)
This was working properly in GCC, because of unreliable magic. See:
https://stackoverflow.com/a/
4644913
src/filecluster.c
patch
|
blob
|
history
diff --git
a/src/filecluster.c
b/src/filecluster.c
index
36e5b4f
..
81a582a
100644
(file)
--- a/
src/filecluster.c
+++ b/
src/filecluster.c
@@
-62,12
+62,14
@@
FileClusterList *fileclusterlist_new()
{
FileClusterList *fcl = g_new0(FileClusterList, 1);
fcl->clusters = g_hash_table_new(&filecluster_fd_hash, &filecluster_fd_equal);
+ return fcl;
}
FileCluster *filecluster_new()
{
FileCluster *fc = g_new0(FileCluster, 1);
fc->show_children = FALSE;
+ return fc;
}
void fileclusterlist_free(FileClusterList *fcl)