当我遇到这段代码时,我只是经历了一些C代码.
void someFunction(Int32 someVariable)
{
/* someVariable is hard coded to 2 */
(void)someVariable;
//some processing that has nothing to do with someVariable.
}
Run Code Online (Sandbox Code Playgroud)
作者在评论中的意思是什么," someVariable被硬编码为2 "?究竟发生了someVariable什么?