incompatible types in assignment of int to short int [1}

short strutUp = 0

if ( strutUp == 244 )
strutUp = 11;
return;

CAN ANYBODY HELP? Whats wrong, why the error message?
This is part of a bigger program i am trying to adapt to my application. Thanks

Missing the ; at the end of the first statement

If your return needs to be in the if statement, you are also missing {} , indentation like in python does not create a “block of code” in C++