Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
Examples of errors detected by the...

Examples of errors detected by the V700 diagnostic

V700. It is suspicious that variable is initialized through itself. Consider inspecting the 'T foo = foo = x;' expression.


.NET CoreCLR

V700 Consider inspecting the 'T foo = foo = ...' expression. It is odd that variable is initialized through itself. cee_wks zapsig.cpp 172


BOOL ZapSig::GetSignatureForTypeHandle(....)
{
  ....
  CorElementType elemType = elemType =
    TryEncodeUsingShortcut(pMT);
  ....
}

Unreal Engine 4

V700 Consider inspecting the 'T foo = foo = ...' expression. It is odd that variable is initialized through itself. leveleditorcontextmenu.cpp 537


void FLevelEditorContextMenuImpl::FillSelectActorMenu(....)
{
  ....
  int32 NumSelectedSurfaces = NumSelectedSurfaces =
    AssetSelectionUtils::GetNumSelectedSurfaces(....);
  ....
}

Apple II emulator

V700 Consider inspecting the 'T foo = foo = ...' expression. It is odd that variable is initialized through itself. debugger_display.cpp 1226


int GetConsoleLineHeightPixels()
{
  int nHeight=nHeight=g_aFontConfig[ FONT_CONSOLE ]._nFontHeight;
  ....
}

Captain Blood

V700 [CWE-480] Consider inspecting the 'mView = mView = chr.Render().GetView()' expression. It is odd that variable is initialized through itself. CharacterItems.cpp 705


void CharacterItems::DrawFlares(float dltTime, const Matrix & toWorld)
{
  // ....
  Matrix mView = mView = chr.Render().GetView();
  // ....
}