Commit 7c19e04
committed
Remove unnecessary AssertMacro() to suppress gcc 4.6 compiler warning.
There's no particular value in doing AssertMacro((tup) != NULL) in front
of code that's certain to crash anyway if tup is NULL. And if "tup" is
actually the address of a local variable, gcc 4.6 whinges about it. That's
arguably pretty broken on gcc's part, but we might as well remove the
useless test to silence the warnings. This gets rid of all the -Waddress
warnings in the backend; there are some in libpq and psql that are a bit
harder to avoid.1 parent b246207 commit 7c19e04
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
842 | | - | |
843 | | - | |
844 | 842 | | |
845 | 843 | | |
846 | 844 | | |
| |||
854 | 852 | | |
855 | 853 | | |
856 | 854 | | |
857 | | - | |
858 | | - | |
| 855 | + | |
859 | 856 | | |
860 | 857 | | |
861 | 858 | | |
| |||
0 commit comments