Coverity #1099405 fixed 58/18358/2
Dhruv Khattar [Sun, 10 Jul 2016 22:38:50 +0000 (03:38 +0530)]
Change-Id: I6dae2793a0ab569aab99ec3fa9db5d1e2396b10d

scilab/modules/parameters/src/c/parameters.c

index f3b2636..da847a3 100644 (file)
@@ -401,9 +401,10 @@ SciErr getDoubleInPList(void* _pvCtx, int * _piAddress, const char * _pstLabel,
                     addErrorMessage(&_SciErr, 999, _("%s: wrong value for parameter %s: value %f\n"), "getDoubleInPList", _pstLabel, *_pdblValue);
                     return _SciErr;
                 }
-
                 va_end(vl);
                 break;
+            default:
+                va_end(vl);
         }
     }