Commit cb2417b0 by lucapegolotti

Fixed warning 4456 in doc\examples\mtapi/mtapi_cpp_wait_task-snippet.h…

Fixed warning 4456 in doc\examples\mtapi/mtapi_cpp_wait_task-snippet.h (declaration of 'status' hides previous local declaration)
parent 30d966ca
mtapi_status_t status = task.Wait(MTAPI_INFINITE); mtapi_status_t task_status = task.Wait(MTAPI_INFINITE);
if (status != MTAPI_SUCCESS) { if (task_status != MTAPI_SUCCESS) {
printf("task failed with error: %d\n\n", status); printf("task failed with error: %d\n\n", task_status);
exit(status); exit(task_status);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment