26-06-2017, 05:59 AM
An empty function is the dead code? for example:
/*file1.c*/
void vidNextStep(void)
{
}
/*file2.c*/
void test(void)
{
vidNextStep();
}
I think an empty function is the dead code, because it shall be called, it means that it shall execute, but It shall not affect program behavior.
Do it?
/*file1.c*/
void vidNextStep(void)
{
}
/*file2.c*/
void test(void)
{
vidNextStep();
}
I think an empty function is the dead code, because it shall be called, it means that it shall execute, but It shall not affect program behavior.
Do it?
<t></t>