mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
newmat6.cpp:431:13: error: ordered comparison between pointer and zero ('int *' and 'int') if (indx > 0) { delete [] indx; indx = 0; } ~~~~ ^ ~ Reported by: antoine (via exp-run)
11 lines
336 B
C++
11 lines
336 B
C++
--- newmat6.cpp.orig 2006-09-09 12:51:25 UTC
|
|
+++ newmat6.cpp
|
|
@@ -428,7 +428,7 @@ void CroutMatrix::operator=(const CroutM
|
|
{
|
|
if (&gm == this) { REPORT tag_val = -1; return; }
|
|
REPORT
|
|
- if (indx > 0) { delete [] indx; indx = 0; }
|
|
+ if (indx) { delete [] indx; indx = 0; }
|
|
((CroutMatrix&)gm).get_aux(*this);
|
|
Eq(gm);
|
|
}
|