Getting the string for a null field should not create an error. Add a
missing break.
This commit is contained in:
parent
2e360b3ee4
commit
47c94c0e4d
|
@ -294,6 +294,7 @@ UINT MSI_RecordGetStringA(MSIRECORD *rec, unsigned int iField,
|
||||||
len = 1;
|
len = 1;
|
||||||
if( *pcchValue > 0 )
|
if( *pcchValue > 0 )
|
||||||
szValue[0] = 0;
|
szValue[0] = 0;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ret = ERROR_INVALID_PARAMETER;
|
ret = ERROR_INVALID_PARAMETER;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue