sink.text.details: remove LOG_WRONG_PARAM_TYPE
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 12 Mar 2020 15:09:48 +0000 (11:09 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 12 Mar 2020 17:57:02 +0000 (13:57 -0400)
It is unused since we have added the more sophisticated parameter
validation utility.

Change-Id: I7ed57026903fd891f2118b6c6bd03841e07f5954
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3221
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/text/details/details.c

index 4f304f7320f05554c83d7728dceb4613e2d19f36..93d88ab0c28aae97673f999c6289570b61b7f1d7 100644 (file)
 #include "write.h"
 #include "plugins/common/param-validation/param-validation.h"
 
-#define LOG_WRONG_PARAM_TYPE(_name, _value, _exp_type)                 \
-       do {                                                            \
-               BT_COMP_LOGE("Wrong `%s` parameter type: type=%s, "     \
-                       "expected-type=%s",                             \
-                       (_name), bt_common_value_type_string(           \
-                               bt_value_get_type(_value)),             \
-                       bt_common_value_type_string(_exp_type));        \
-       } while (0)
-
 #define IN_PORT_NAME "in"
 #define COLOR_PARAM_NAME "color"
 #define WITH_METADATA_PARAM_NAME "with-metadata"
This page took 0.024857 seconds and 4 git commands to generate.