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.
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.