UST markers: fix structure alignment for recent gcc
[ust.git] / libust / buffers.c
index e5a1db3962e542e44be1f43453579328a4dc3bad..4e8004c65e042d73e70bb175874fd279d10ab29c 100644 (file)
@@ -655,6 +655,7 @@ static int unmap_buf_structs(struct ust_channel *chan)
                        PERROR("shmdt");
                }
        }
+       return 0;
 }
 
 /*
@@ -1242,6 +1243,10 @@ size_t ltt_write_event_header_slow(struct ust_channel *channel,
        case LTT_RFLAG_ID:
                header.id_time = 31 << LTT_TSC_BITS;
                break;
+       default:
+               WARN_ON_ONCE(1);
+               header.id_time = 0;
+               break;
        }
 
        header.id_time |= (u32)tsc & LTT_TSC_MASK;
This page took 0.022355 seconds and 4 git commands to generate.