forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7c19e04
committed
Remove unnecessary AssertMacro() to suppress gcc 4.6 compiler warning.
There's no particular value in doing AssertMacro((tup) != NULL) in frontof code that's certain to crash anyway if tup is NULL. And if "tup" isactually the address of a local variable, gcc 4.6 whinges about it. That'sarguably pretty broken on gcc's part, but we might as well remove theuseless test to silence the warnings. This gets rid of all the -Waddresswarnings in the backend; there are some in libpq and psql that are a bitharder to avoid.1 parentb246207 commit7c19e04
1 file changed
+1
-4
lines changedLines changed: 1 addition & 4 deletions
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
Comments
(0)