Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed missing bracket in deepstream_paraller_infer_app.cpp #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RZetko
Copy link

@RZetko RZetko commented Nov 15, 2024

Added missing bracket for if clause which caused compilation errors like so:

deepstream_parallel_infer_app.cpp:1690:3: error: jump to label 'done'
 1690 |   done:
      |   ^~~~
deepstream_parallel_infer_app.cpp:1539:10: note:   from here
 1539 |     goto done;
      |          ^~~~
deepstream_parallel_infer_app.cpp:1613:18: note:   crosses initialization of 'DemoPerfCtx* perf_ctx'
 1613 |     DemoPerfCtx *perf_ctx = (DemoPerfCtx *)g_malloc0(sizeof(DemoPerfCtx));
      |                  ^~~~~~~~
deepstream_parallel_infer_app.cpp:1612:27: note:   crosses initialization of 'NvDsAppPerfStructInt* str'
 1612 |     NvDsAppPerfStructInt *str = (NvDsAppPerfStructInt *)g_malloc0(sizeof(NvDsAppPerfStructInt));
      |                           ^~~
deepstream_parallel_infer_app.cpp:1729:25: error: expected '}' at end of input
 1729 |     return return_value;
      |                         ^
deepstream_parallel_infer_app.cpp:1575:3: note: to match this '{'
 1575 |   {
      |   ^
deepstream_parallel_infer_app.cpp:1729:25: error: expected '}' at end of input
 1729 |     return return_value;
      |                         ^
deepstream_parallel_infer_app.cpp:1406:1: note: to match this '{'
 1406 | {

Added missing bracket for if clause which caused compilation errors like so:

deepstream_parallel_infer_app.cpp:1690:3: error: jump to label 'done'
 1690 |   done:
      |   ^~~~
deepstream_parallel_infer_app.cpp:1539:10: note:   from here
 1539 |     goto done;
      |          ^~~~
deepstream_parallel_infer_app.cpp:1613:18: note:   crosses initialization of 'DemoPerfCtx* perf_ctx'
 1613 |     DemoPerfCtx *perf_ctx = (DemoPerfCtx *)g_malloc0(sizeof(DemoPerfCtx));
      |                  ^~~~~~~~
deepstream_parallel_infer_app.cpp:1612:27: note:   crosses initialization of 'NvDsAppPerfStructInt* str'
 1612 |     NvDsAppPerfStructInt *str = (NvDsAppPerfStructInt *)g_malloc0(sizeof(NvDsAppPerfStructInt));
      |                           ^~~
deepstream_parallel_infer_app.cpp:1729:25: error: expected '}' at end of input
 1729 |     return return_value;
      |                         ^
deepstream_parallel_infer_app.cpp:1575:3: note: to match this '{'
 1575 |   {
      |   ^
deepstream_parallel_infer_app.cpp:1729:25: error: expected '}' at end of input
 1729 |     return return_value;
      |                         ^
deepstream_parallel_infer_app.cpp:1406:1: note: to match this '{'
 1406 | {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant