#At file:///export/home/didrik/repo/5.5-bugteam/ based on revid:horst.hunger@stripped
3269 Tor Didriksen 2010-10-25
Bug#45288: pb2 returns a lot of compilation warnings
sql/sql_lex.h:1437: warning: control reaches end of non-void function
@ sql/sql_lex.h
Make compiler happy, by adding a return statement.
modified:
sql/sql_lex.h
=== modified file 'sql/sql_lex.h'
--- a/sql/sql_lex.h 2010-10-06 14:34:28 +0000
+++ b/sql/sql_lex.h 2010-10-25 14:11:42 +0000
@@ -1422,6 +1422,8 @@ public:
DBUG_ASSERT(0);
break;
}
+ MY_ASSERT_UNREACHABLE();
+ return "";
}
#define BINLOG_DIRECT_ON 0xF0 /* unsafe when
Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20101025141142-x233zafeoxedlvoy.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5-bugteam branch (tor.didriksen:3269) Bug#45288 | Tor Didriksen | 25 Oct |