]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Clean up some warnings in compiling JobControl as reported by Tim Rice.
authorAidan Van Dyk <aidan@ifax.com>
Tue, 28 Mar 2006 13:22:51 +0000 (13:22 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Tue, 28 Mar 2006 13:22:51 +0000 (13:22 +0000)
faxd/JobControl.c++
faxd/JobControl.h

index c5c79b99bbdcbbdea54d5dd9be14a5a0536900cf..e23a73ef1c4674cf36e386d540ad1df026dea5f2 100644 (file)
@@ -43,7 +43,6 @@
 #define        setDefined(b)           (defined |= b)
 
 JobControlInfo::JobControlInfo()                       { defined = 0; }
-JobControlInfo::JobControlInfo(const char* re)         { defined = 0; }
 JobControlInfo::JobControlInfo(const JobControlInfo& other)
     : rejectNotice(other.rejectNotice)
     , modem(other.modem)
@@ -65,7 +64,6 @@ JobControlInfo::JobControlInfo (const fxStr& buffer)
     u_int pos = 0;
     u_int last_pos = 0;
     int loop = 0;
-    u_int i;
     while ( (pos = buffer.next(last_pos, '\n')) < buffer.length() )
     {
        // Quick safety-net
@@ -96,7 +94,7 @@ JobControlInfo::configError (const char* fmt, ...)
 }
 
 void
-JobControlInfo::configTrace (const char* fmt, ...)
+JobControlInfo::configTrace (const char*, ...)
 {
    // We don't trace JobControl parsing...
 }
index 092ff6042f18e0003cb2078cc2bdc9e9ca04251d..aebea90dfaebaf53471577b9e460a12687a289c7 100644 (file)
@@ -60,7 +60,6 @@ private:
 
     friend class JobControl;
 public:
-    JobControlInfo(const char* regex);
     JobControlInfo();
     JobControlInfo(const fxStr& buffer);
     JobControlInfo(const JobControlInfo& other);