From f6024417672a8c54489d8fe1a0a9cb0e89ce84bf Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 24 Jul 2019 17:05:22 -0400 Subject: [PATCH] bt2: _init_and_register_exit(): remove unused `version` variable Signed-off-by: Philippe Proulx Change-Id: I7b5b14ec60b3ac20fa0cdfb422f909d506c8361a Reviewed-on: https://review.lttng.org/c/babeltrace/+/1775 Tested-by: jenkins --- src/bindings/python/bt2/bt2/__init__.py.in | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/bindings/python/bt2/bt2/__init__.py.in b/src/bindings/python/bt2/bt2/__init__.py.in index 62746bfb..3eb51948 100644 --- a/src/bindings/python/bt2/bt2/__init__.py.in +++ b/src/bindings/python/bt2/bt2/__init__.py.in @@ -186,12 +186,6 @@ def _init_and_register_exit(): import atexit atexit.register(native_bt.bt2_cc_exit_handler) - version = ( - native_bt.version_get_major(), - native_bt.version_get_minor(), - native_bt.version_get_patch(), - native_bt.version_get_extra(), - ) native_bt.bt2_cc_init_from_bt2() -- 2.34.1