make ret variable more unique to prevent collision with with code under test

This commit is contained in:
Dom Postorivo
2019-11-04 11:23:57 -05:00
committed by Dom Postorivo
parent c1b1ff6350
commit 0cdc742538
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -60,9 +60,9 @@ class CMockGeneratorPluginCallback
" UNITY_CLR_DETAILS();\n" \
" return;\n }\n"
else
" #{function[:return][:type]} ret = #{generate_call(function)};\n" \
" #{function[:return][:type]} cmock_cb_ret = #{generate_call(function)};\n" \
" UNITY_CLR_DETAILS();\n" \
" return ret;\n }\n"
" return cmock_cb_ret;\n }\n"
end
end