Edit

Share via


Compiler Error C2374

'identifier' : redefinition; multiple initialization

The identifier is initialized more than once.

The following sample generates C2374:

// C2374.cpp
// compile with: /c
int i = 0;
int i = 1;   // C2374
int j = 1;   // OK