From: Philippe E. <ph...@us...> - 2002-06-06 18:59:29
|
Update of /cvsroot/oprofile/oprofile/libutil++ In directory usw-pr-cvs1:/tmp/cvs-serv13217/libutil++ Modified Files: op_bfd.cpp Log Message: small tweak for gcc 2.91 and -Werror Phil Index: op_bfd.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libutil++/op_bfd.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- op_bfd.cpp 6 Jun 2002 16:18:19 -0000 1.3 +++ op_bfd.cpp 6 Jun 2002 18:59:26 -0000 1.4 @@ -308,9 +308,9 @@ &functionname, &linenr); - if (ret == true && linenr != 0 + if (ret && linenr != 0 && syms[sym_idx].name() == string(functionname)) { - return ret; // we win + return true; // we win } } |