Skip to content

Warning compiling under PlatformIO #31

Description

@ciband

I am using the library compiling under platformIO for the Arduino Uno and I get this warning:

....\HttpClient_ID66\b64.cpp: In function 'int b64_encode(const unsigned char*, int, unsigned char*, int)':
C:\Users\chris.platformio\lib\HttpClient_ID66\b64.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type]
}

I would be happy to fix it and submit the PR but I am not entirely sure what the function should return. I could see it return some error code or just become a void.

What would you like?

Thanks.

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