Skip to content

too many arguments in call to 'connect_to_output_device' #182

@ryandesign

Description

@ryandesign

In adintool/mainloop.c, connect_to_output_device is declared as:

static int
connect_to_output_device()

Note that the parameters have not been declared. If no parameters are required, it should say void between the parentheses.

This warning occurs during the build when the function is called with a parameter:

mainloop.c:1280:34: warning: too many arguments in call to 'connect_to_output_device'
          connect_to_output_device(recog);
          ~~~~~~~~~~~~~~~~~~~~~~~~      ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions