Description of problem: I just tried to compile device-mapper-multipath-0.4.2-1.0 from Redhat Fedora Core development tree with the Intel C compiler. The compiler said main.c(650): remark #592: variable "mode" is used before its value is set The source code is if (mkdir(CALLOUT_DIR, mode) < 0) { Suggest init local variable mode before first use. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
is the following enough to calm ICC ? @@ -682,7 +511,7 @@ static int prepare_namespace(void) { - mode_t mode; + mode_t mode = S_IRWXU; struct stat *buf; char ramfs_args[64]; int i;
>is the following enough to calm ICC ? I haven't tested it, but a visual inspection suggests it will.
This is fixed in 0.4.3 and up. Can this bug be resolved now?