amcewen / HttpClient

Arduino HTTP library
324 stars 314 forks source link

Warning compiling under PlatformIO #31

Open ciband opened 6 years ago

ciband commented 6 years ago

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.

homonto commented 1 year ago

4 years later and still not closed ;-)

Screenshot 2022-11-08 at 17 51 03
dnlombard commented 9 months ago

Still present