Have code that alters a variable and saves it to KVS:
This will give the warning:
Unused variable 'ovar'. (warning #9)
Object
Clearly the variable is used and the code works fine and I wonder if this might be a minor bug.
RBS
B4X:
Sub UpdateSettingAndKVS(strVarKey As String, oVar As Object, oVal As Object)
oVar = oVal
cMP.UpdateKVS(strVarKey, oVal)
End Sub
This will give the warning:
Unused variable 'ovar'. (warning #9)
Object
Clearly the variable is used and the code works fine and I wonder if this might be a minor bug.
RBS