Commit 3856bc9f by Dwight Engen Committed by Stéphane Graber

coverity: clonetest: check correct container is cloned

parent 5ca6c34b
......@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
goto out;
}
if (!c2->is_defined(c)) {
if (!c2->is_defined(c2)) {
fprintf(stderr, "%d: %s not defined after clone\n", __LINE__, MYNAME2);
goto out;
}
......
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