Skip to content
Snippets Groups Projects
Commit 8b3cb3c5 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

scan-build: fix Java style string assignment

parent fdccc39b
No related branches found
No related tags found
No related merge requests found
......@@ -1303,7 +1303,7 @@ static void dnskey_info(const uint8_t *rdata,
alg ? alg->name : "UNKNOWN",
key_tag );
if (ret <= 0) { // Truncated return is acceptable. Just check for errors.
out = "";
out[0] = '\0';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment