NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 1) C4033

'function' must return a value

The function does not return a value. An undefined value is returned.

Functions that use return without a return value must be declared as type void.

This error is for C language code.

The following sample generates C4033:

int test_1(int x) {

   if (x) {
      test_2();
      return;
   }
}