-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up some code warning #821
Conversation
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Signed-off-by: Moi Ran <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #821 +/- ##
==========================================
- Coverage 65.80% 65.75% -0.06%
==========================================
Files 129 129
Lines 37242 37238 -4
==========================================
- Hits 24508 24486 -22
- Misses 12734 12752 +18 ☔ View full report in Codecov by Sentry. |
3dc1891
to
170c446
Compare
Signed-off-by: Moi Ran <[email protected]>
170c446
to
5bead92
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank!
@@ -447,7 +447,7 @@ extern int nni_plat_udp_sockname(nni_plat_udp *, nni_sockaddr *); | |||
// in APIs to transport file descriptors, or across a fork/exec boundary (so | |||
// that child processes may use these with socket to inherit a socket that is | |||
// connected to the parent.) | |||
extern int nni_socket_pair(int *); | |||
extern int nni_socket_pair(int [2]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems a warning of nng.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops, this shall not be modified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nng already fixed this in nanomsg/nng#1760
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then there shall be sth wrong on sync....
@@ -179,7 +179,7 @@ nng_random(void) | |||
} | |||
|
|||
int | |||
nng_socket_pair(int *fds) | |||
nng_socket_pair(int fds[2]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also a warning from nng
The log_log side effects and some hard-to-clean code warnings have not been removed yet