]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Quiet compiler warnings like
authorTim Rice <tim@multitalents.net>
Thu, 24 Jan 2008 05:18:27 +0000 (05:18 +0000)
committerTim Rice <tim@multitalents.net>
Thu, 24 Jan 2008 05:18:27 +0000 (05:18 +0000)
"../src/faxd/ModemConfig.h", line 178: warning: extra ";" ignored
"../src/faxd/ModemConfig.h", line 179: warning: extra ";" ignored
"../src/faxd/Class1.h", line 159: Warning: Identifier expected instead of "}".
"../src/faxd/FaxSendStatus.h", line 40: Warning: Identifier expected instead of "}".

faxd/Class1.h
faxd/FaxSendStatus.h
faxd/ModemConfig.h

index 41b451454ecc5c7a9457b015ce9bd30832585fdc..0219221aeb5f35957ab8fec5032ff6f201de0b3b 100644 (file)
@@ -155,7 +155,7 @@ protected:
 // miscellaneous
     enum {                     // Class 1-specific AT responses
        AT_FCERROR      = 100,  // "+FCERROR"
-       AT_FRH3         = 101,  // "+FRH:3"
+       AT_FRH3         = 101   // "+FRH:3"
     };
     virtual ATResponse atResponse(char* buf, long ms = 30*1000);
     virtual bool waitFor(ATResponse wanted, long ms = 30*1000);
index f76704307d05834cc5f8b33ba6790fa042b7d401..147c595c11454a40c3d45b045605957cc8e51645 100644 (file)
@@ -36,7 +36,7 @@ enum FaxSendStatus {
     send_v34fail,              // failed due to V.34-Fax trouble
     send_v17fail,              // failed due to V.17-Fax trouble
     send_batchfail,            // batch failure, retry
-    send_nobatch,              // Nothing happend to this job in the batch
+    send_nobatch               // Nothing happend to this job in the batch
 };
 #define        send_ok send_done
 #endif /* _FaxSendStatus_ */
index 4e5fc9516d7e200bcc4dec0ed443264d610e41b3..516f1add3ce4317e5ea01278769c802d32f89fe8 100644 (file)
@@ -175,8 +175,8 @@ public:
     bool       class1MMRSupport;       // support 2-D MMR
     bool       class1PersistentECM;    // continue to correct
     bool       class1ValidateV21Frames;// check received FCS values in V.21
-    bool       class1ModemHasDLEBug;;  // modem doesn't double-up DLEs in V.21
-    bool       class1HasRHConnectBug;; // modem reports CONNECT after +FRH=3 to non-V.21-HDLC data
+    bool       class1ModemHasDLEBug;   // modem doesn't double-up DLEs in V.21
+    bool       class1HasRHConnectBug;  // modem reports CONNECT after +FRH=3 to non-V.21-HDLC data
                                        // for class 2 and 2.0:
     fxStr      class2Cmd;              // cmd for setting Class 2/2.0
     fxStr      class2DCCQueryCmd;      // cmd to query modem capabilities