Skip to content

Issue during ./install.h #65

@ananyahjha93

Description

@ananyahjha93

While doing the step ./install.h in the data loader, I get the following set of errors:

coviar_data_loader.c:431:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:436:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:443:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:448:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:455:9: error: void function 'count_frames' should not return a value [-Wreturn-type]
return -1;
^ ~~
coviar_data_loader.c:496:5: error: void function 'count_frames' should not return a value [-Wreturn-type]
return 0;

Do I change the return type of count_frames function to int? Based on the usage of the function, it doesn't seem that this change will affect the behaviour of the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions