Commit 13db625
committed
Fix two compilation warnings/errors:
GCC 4.6.3
/sql/sql_acl.cc: In function 'int replace_user_table(THD*, TABLE*, LEX_USER*, ulong, bool, bool, bool)':
/sql/sql_acl.cc:2701:8: error: variable 'sha2_plugin' set but not used [-Werror=unused-but-set-variable]
Clang 4.1
/mysys_ssl/my_default.cc:930:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]1 parent 247ba65 commit 13db625
2 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
930 | | - | |
| 930 | + | |
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2697 | 2697 | | |
2698 | 2698 | | |
2699 | 2699 | | |
2700 | | - | |
2701 | | - | |
2702 | | - | |
2703 | 2700 | | |
2704 | 2701 | | |
2705 | 2702 | | |
| |||
2902 | 2899 | | |
2903 | 2900 | | |
2904 | 2901 | | |
2905 | | - | |
2906 | 2902 | | |
2907 | 2903 | | |
2908 | 2904 | | |
| |||
0 commit comments