diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2010-09-14 13:56:29 +0300 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2010-09-14 13:56:29 +0300 |
commit | 1bdcd70fad735a2a602e70fcac282cad84b92ab6 (patch) | |
tree | b0a9091f508d0c19fcaa0317d3721ea2b824ee4f /storage/innobase/row | |
parent | a82e39e7286cc5b730df5191200fc22b7a595ac4 (diff) | |
download | mariadb-git-1bdcd70fad735a2a602e70fcac282cad84b92ab6.tar.gz |
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning:
row/row0purge.c: In function 'row_purge_step':
row/row0purge.c:660:9: error: variable 'err' set but not used [-Werror=unused-but-set-variable]
(row_purge() always returns DB_SUCCESS)
Diffstat (limited to 'storage/innobase/row')
-rw-r--r-- | storage/innobase/row/row0purge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/row/row0purge.c b/storage/innobase/row/row0purge.c index 1fef47da13f..deec3b0a454 100644 --- a/storage/innobase/row/row0purge.c +++ b/storage/innobase/row/row0purge.c @@ -667,7 +667,7 @@ row_purge_step( err = row_purge(node, thr); - ut_ad(err == DB_SUCCESS); + ut_a(err == DB_SUCCESS); return(thr); } |