Actions
Bug #8777
closedkrb5/plugins/kdb: variable set but not used
Start date:
2017-11-06
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
Debug build error from gcc 6:
../hash/hash_page.c: In function '__kdb2_delpair': ../hash/hash_page.c:310:22: error: variable 'next_key' set but not used [-Werror=unused-but-set-variable] int16_t delta, len, next_key; ^~~~~~~~ ../hash/hash.c:332:10: error: variable 'nelem' set but not used [-Werror=unused-but-set-variable] int32_t nelem; ^~~~~ ../hash/hash.c: In function 'hget_header': ../hash/hash.c:439:24: error: variable 'i' set but not used [-Werror=unused-but-set-variable] u_int32_t num_copied, i; ^ ../hash/hash_bigkey.c:199:12: error: variable 'bytes' set but not used [-Werror=unused-but-set-variable] u_int16_t bytes; ^~~~~ cc1: all warnings being treated as errors
Updated by Electric Monk almost 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 495ee6847d0d3e288f47ba026d98a830e51cbc06
commit 495ee6847d0d3e288f47ba026d98a830e51cbc06 Author: Toomas Soome <tsoome@me.com> Date: 2017-11-16T20:32:09.000Z 8777 krb5/plugins/kdb: variable set but not used Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Actions