]> granicus.if.org Git - postgresql/commitdiff
Remove dead assignment
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 30 Jan 2018 01:41:36 +0000 (20:41 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 30 Jan 2018 01:41:36 +0000 (20:41 -0500)
per scan-build

contrib/spi/refint.c

index 2fc894e72a1b2e1ccf3291079b06746ee176e0f8..b065ffa400d4caf1c60ae1270495d7585a175a20 100644 (file)
@@ -489,7 +489,6 @@ check_foreign_key(PG_FUNCTION_ARGS)
                                                                 " %s = %s%s%s %s ",
                                                                 args2[k], (is_char_type > 0) ? "'" : "",
                                                                 nv, (is_char_type > 0) ? "'" : "", (k < nkeys) ? ", " : "");
-                                               is_char_type = 0;
                                        }
                                        strcat(sql, " where ");