From: Christian P. <cp...@us...> - 2005-04-25 10:57:47
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17555/src/System Modified Files: PathFinder.cpp SignalListener.posix.cpp Log Message: - Fixed compile-error with -Werror Index: SignalListener.posix.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SignalListener.posix.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- SignalListener.posix.cpp 23 Apr 2005 17:48:03 -0000 1.4 +++ SignalListener.posix.cpp 25 Apr 2005 10:57:31 -0000 1.5 @@ -144,7 +144,7 @@ // clear the signal pipe ... we don't want to get signaled forever char tmp[64]; - int ret = ::read(fd(), tmp, 64); + ::read(fd(), tmp, 64); // restore blocked signal state ... sigprocmask(SIG_SETMASK, &oldSet, 0); Index: PathFinder.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/PathFinder.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- PathFinder.cpp 23 Apr 2005 15:19:32 -0000 1.4 +++ PathFinder.cpp 25 Apr 2005 10:57:31 -0000 1.5 @@ -49,8 +49,6 @@ std::string joinList( const StringList & list, const std::string & separator ) { std::ostringstream ret; - unsigned long count = list.size(); - unsigned long at = 0; typename StringList::const_iterator it = list.begin(); while(it != list.end()) |