summaryrefslogtreecommitdiff
path: root/storage/innobase/include/rem0cmp.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-05-18 15:20:57 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-05-19 22:58:59 +0300
commit7edadde72eb23e9110db8cea810c023104e9d15e (patch)
tree4f3000a61f4ec772286a5b92fbe861f024c06408 /storage/innobase/include/rem0cmp.h
parent9756440fb5a48c4b450eb32a2ba06399ede4c408 (diff)
downloadmariadb-git-7edadde72eb23e9110db8cea810c023104e9d15e.tar.gz
Remove bogus __attribute__((nonnull))
These were reported when running tests after compiling the debug server with -O3 -fsanitize=undefined in GCC 7.1.0.
Diffstat (limited to 'storage/innobase/include/rem0cmp.h')
-rw-r--r--storage/innobase/include/rem0cmp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/include/rem0cmp.h b/storage/innobase/include/rem0cmp.h
index 245fefae944..216e3a7655b 100644
--- a/storage/innobase/include/rem0cmp.h
+++ b/storage/innobase/include/rem0cmp.h
@@ -1,6 +1,7 @@
/*****************************************************************************
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2017, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -62,7 +63,7 @@ cmp_data_data(
ulint len1,
const byte* data2,
ulint len2)
- MY_ATTRIBUTE((nonnull, warn_unused_result));
+ MY_ATTRIBUTE((warn_unused_result));
/** Compare two data fields.
@param[in] dfield1 data field; must have type field set