[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Powerguru] PATCH: fix compilation errors
From: |
Ben Elliston |
Subject: |
[Powerguru] PATCH: fix compilation errors |
Date: |
Tue, 4 Dec 2018 20:42:05 +1100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
This fixes some compilation warnings/errors in the daemon.
Ben
2018-12-04 Ben Elliston <address@hidden>
* daemon/main.cc (main): Fix #endif. Remove unused variable i.
2005-09-18 Rob Savoye <address@hidden>
diff --git a/daemon/main.cc b/daemon/main.cc
index 35e90d0..1fce39a 100644
--- a/daemon/main.cc
+++ b/daemon/main.cc
@@ -79,7 +79,7 @@ extern void xantrex_handler(pdev::Ownet &);
int
main(int argc, char *argv[])
{
- int c, i;
+ int c;
ErrCond Err;
string item, str;
const char *filespec;
@@ -408,7 +408,7 @@ main(int argc, char *argv[])
#endif
#ifdef BUILD_XANTREX
third.join(); // pauses until third finishes
-#end
+#endif
exit(0);
}
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Powerguru] PATCH: fix compilation errors,
Ben Elliston <=