add -Wmaybe-uninitialized
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ndctl, inject-smart: cleanup uninitialized variable warningsndctl/ | +2 | 0 replies | |
| 2/3 | ndctl, update: fix uninitialized variable warningsndctl/ | +1 | 0 replies | |
| 3/3 | ndctl, update: remove the check for !cmd when dereferencing itndctl/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [ndctl PATCH 0/3] add -Wmaybe-uninitialized
A few misc updates. Add the -Wmaybe-uninitialized flag to configure, and fix the warnings it results in.
Also in update.c, remove a new unnecessary if (cmd) - unref checks as unref already handles the NULL case.
Vishal Verma (3):
ndctl, inject-smart: cleanup uninitialized variable warnings ndctl, update: fix uninitialized variable warnings ndctl, update: remove the check for !cmd when dereferencing it
ndctl/inject-smart.c | 4 ++-- ndctl/update.c | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-)
Signature · 6 lines
2.14.3 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm