dtcm: Coverity 89043
authorPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 16:22:04 +0000 (17:22 +0100)
committerPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 16:22:04 +0000 (17:22 +0100)
cde/programs/dtcm/server/parser.y

index 1095f2de8d6c1cd62564b4aa90595c3abd0ee245..311615bbc2fd0dfd2e990b37db5b13adc2a6f913 100644 (file)
@@ -888,7 +888,7 @@ get_attr_value(int type, char *valstr, cms_attribute_value **attrval)
        uint            unum;
        CSA_reminder    remval;
        CSA_opaque_data opqval;
-       CSA_return_code stat;
+       CSA_return_code stat = CSA_SUCCESS;
 
        switch (type) {
        case CSA_VALUE_ENUMERATED: