Cleanup: use ctf_scope_string function to print `enum ctf_scope` vars
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 18 Dec 2018 21:02:57 +0000 (16:02 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:37 +0000 (18:19 -0400)
commitc0d5e998c7aa7b301978b45f3c914d3fff6e0935
tree3bdf6dec9f68dcc2f66ae54854cce5eb2748e5f8
parentf03c28eb4f2d7996d63c8a2cea118c1acfc7c1dc
Cleanup: use ctf_scope_string function to print `enum ctf_scope` vars

This fixes the following Clang warning:
  ctf-meta-resolve.c:278:28: error: implicit conversion from enumeration type 'enum ctf_scope' to different enumeration type 'enum bt_scope' [-Werror,-Wenum-conversion]
                                  bt_common_scope_string(scope));
                                  ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
  ../../../../include/babeltrace/logging-internal.h:854:46: note: expanded from macro 'BT_LOGV'
                          BT_LOG_WRITE(BT_LOG_VERBOSE, _BT_LOG_TAG, __VA_ARGS__)
                                                                    ^~~~~~~~~~~
  ../../../../include/babeltrace/logging-internal.h:818:18: note: expanded from macro 'BT_LOG_WRITE'
                                                          lvl, tag, __VA_ARGS__); \

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
plugins/ctf/common/metadata/ctf-meta-resolve.c
This page took 0.034402 seconds and 4 git commands to generate.