- on a report generated by cppcheck sent by David Binderman (cherry picked from commit 480b6d4dfc954fbbb8afb9dbbbf17b80dcdf71ce)
@@ -118,7 +118,7 @@ static int parse_postgres_uri(struct pg_uri* res, str* uri)
prev_token = 0;
- if (!res || !res) {
+ if (!res || !uri) {
goto err;
}