Skip to content

Commit a258235

Browse files
Copilotb1llow
andauthored
Fix unused function warning in bap-tracing plugin with __attribute__((unused)) (#1)
Co-authored-by: b1llow <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
1 parent bf80e0b commit a258235

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/plugins/bap-tracing/tracing.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ static void flush_and_write_toc_entry(FrameBuffer *fbuf) {
184184
g_rw_lock_writer_unlock(&state.file_lock);
185185
}
186186

187+
static void flush_all_frame_bufs(void) __attribute__((unused));
187188
static void flush_all_frame_bufs(void) {
188189
g_rw_lock_writer_lock(&state.file_lock);
189190
g_rw_lock_writer_lock(&state.toc_entries_offsets_lock);

0 commit comments

Comments
 (0)