Commit f82ef2f2 authored by Petri Hintukainen's avatar Petri Hintukainen

Avoid confusing static analyzers

parent 3e28138c
......@@ -177,7 +177,7 @@ static void _comb_dir_append(BD_DIR_H *dp, BD_DIRENT *entry)
}
/* append */
priv = realloc(priv, sizeof(*priv) + priv->count * sizeof(BD_DIRENT));
priv = realloc(dp->internal, sizeof(*priv) + priv->count * sizeof(BD_DIRENT));
if (!priv) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment