mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-28 03:27:58 +03:00
60cc666c94
LVM2.2.02.112/lib/activate/dev_manager.c:196:5: warning: 'dmtask' may be used uninitialized in this function [-Wmaybe-uninitialized] In _info_run fn: switch (type) { case INFO: ... case STATUS: ... case MKNODES: ... } The "type" is enum and currently only those three types are supported, but if we added a new type in the future, this would end up with a bug (if we forgot to add the new "case" in that "switch"). So let's make sure proper internal error is printed: default: log_error(INTERNAL_ERROR "_info_run: unhandled info type"); return 0; |
||
---|---|---|
.. | ||
activate.c | ||
activate.h | ||
dev_manager.c | ||
dev_manager.h | ||
fs.c | ||
fs.h | ||
targets.h |