projects
/
dss.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mark find_oldest_removable_snapshot() as static.
[dss.git]
/
string.c
diff --git
a/string.c
b/string.c
index 22d39056e8cbf6169914c25c58b6eb56b45f9cdf..d340811e6f42b23ce7cec7b4e6a03653ac9522e2 100644
(file)
--- a/
string.c
+++ b/
string.c
@@
-93,8
+93,9
@@
__must_check __malloc void *dss_realloc(void *p, size_t size)
*/
__must_check __malloc void *dss_malloc(size_t size)
{
+ void *p;
assert(size);
-
void *
p = malloc(size);
+ p = malloc(size);
if (!p) {
DSS_EMERG_LOG("malloc failed (size = %zu), aborting\n",