00c878957c
Coverity alerted us to the fact that there are places where the synonym_for param is hard-coded to -1 when calling register_variable(). It would be a coding error if synonym_for==-1 and (flags & MCA_BASE_VAR_FLAG_SYNONYM)>0, so let's add that to the debug-only check at the top of the function. This was CID 993717.