Skip to content

Commit 6e3b18e

Browse files
committed
Remove a couple of commas
1 parent c231640 commit 6e3b18e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/nng/src/platform/posix/posix_pipe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ nni_plat_pipe_raise(int wfd)
103103
{
104104
char c = 1;
105105

106-
if (write(wfd, &c, 1)) {};
106+
if (write(wfd, &c, 1)) {}
107107
}
108108

109109
void

src/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static void nano_printf(const int err, const char *fmt, ...) {
6262
int bytes = vsnprintf(buf, NANONEXT_INIT_BUFSIZE, fmt, arg_ptr);
6363
va_end(arg_ptr);
6464

65-
if (write(err ? STDERR_FILENO : STDOUT_FILENO, buf, (size_t) bytes)) {};
65+
if (write(err ? STDERR_FILENO : STDOUT_FILENO, buf, (size_t) bytes)) {}
6666

6767
}
6868

0 commit comments

Comments
 (0)