Skip to content

Commit 0c97296

Browse files
crafcat7xiaoxiang781216
authored andcommitted
syslog_intbuffer:fix build warning
CC: mqueue/msgsnd.c syslog/syslog_intbuffer.c: In function 'syslog_flush_internal': syslog/syslog_intbuffer.c:99:14: warning: unused variable 'flags' [-Wunused-variable] 99 | irqstate_t flags; | ^~~~~ Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
1 parent 3b6f463 commit 0c97296

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/syslog/syslog_intbuffer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ static struct syslog_intbuffer_s g_syslog_intbuffer =
9696

9797
static void syslog_flush_internal(bool force, size_t buflen)
9898
{
99-
irqstate_t flags;
10099
FAR char *buffer;
101100
size_t size;
102101

0 commit comments

Comments
 (0)