Here is my test case, based on your description:
static int FunctionWithIntReturn() { return 2; }
static void TestingCodeInspectInitialize()
{
int varFromFunction = FunctionWithIntReturn();
int varFromVariable = varFromFunction;
int varDirect = 10;
int varUninitialized;
}
only one variable is being picked up as not initialized.
My experiments with Code Inspection so far show that sometimes surrounding context matters. Also, does the code currently compile? If it doesn't that will also have an effect on things.