Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 4) C4100

'identifier' : unreferenced formal parameter

The formal parameter is not referenced in the body of the function. The unreferenced parameter is ignored. The following sample generates C4100:

// C4100.cpp
// compile with: /W4
void func(int i) {   // C4100, delete the unreferenced parameter to
                     //resolve the warning

int main()
© 2014 Microsoft