gdb/ 2014-08-04 Jan Kratochvil * configure.ac (--with-babeltrace): Use 'pos'. * configure: Regenerate. diff --git a/gdb/configure.ac b/gdb/configure.ac index 70d0964..07d2f00 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -2437,6 +2437,7 @@ else struct bt_ctf_event *event = NULL; const struct bt_definition *scope; + (void) pos; /* Prevent -Werror=unused-variable. */ scope = bt_ctf_get_top_level_scope (event, BT_STREAM_EVENT_HEADER); bt_ctf_get_uint64 (bt_ctf_get_field (event, scope, "id")); diff --git a/gdb/configure b/gdb/configure index 809326a..b983d16 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15344,6 +15344,7 @@ struct bt_iter_pos *pos = bt_iter_get_pos (bt_ctf_get_iter (NULL)); struct bt_ctf_event *event = NULL; const struct bt_definition *scope; + (void) pos; /* Prevent -Werror=unused-variable. */ scope = bt_ctf_get_top_level_scope (event, BT_STREAM_EVENT_HEADER); bt_ctf_get_uint64 (bt_ctf_get_field (event, scope, "id"));