नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier' : unreferenced formal parameter
Remarks
The formal parameter is not referenced in the body of the function. The unreferenced parameter is ignored.
C4100 can also be issued when code calls a destructor on an otherwise unreferenced parameter of primitive type.
Example
The following example generates C4100:
// C4100.cpp
// compile with: /W4
void func(int i) { // C4100, delete the unreferenced parameter to resolve the warning
// i; // Or uncomment this line to add a reference
}
int main()
{
func(1);
}