mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Also fixes various other problems discovered while working on that. Add upstream bug report URLs to existing patches where I could find them.
13 lines
400 B
Diff
13 lines
400 B
Diff
Fix "warning: using the result of an assignment as a condition without parentheses"
|
|
--- xbase64/xbmemo.cpp.orig 2006-07-17 11:54:42.000000000 -0500
|
|
+++ xbase64/xbmemo.cpp 2019-10-01 22:11:36.000000000 -0500
|
|
@@ -255,7 +255,7 @@
|
|
if (ext == "DBF")
|
|
MemofileName += "FPT";
|
|
else
|
|
- if (ext = "dbf")
|
|
+ if (ext == "dbf")
|
|
MemofileName += "fpt";
|
|
else
|
|
return XB_INVALID_NAME;
|