[PATCH 9/9] gen_gl_wrappers: remove unused imports

Jon Turney jon.turney at dronecode.org.uk
Mon Apr 1 19:10:58 UTC 2019


On 23/03/2019 23:52, Konstantin Kharlamov wrote:
> Fixes LGTM warnings:
>      * Import of 'cProfile' is not used.
>      * Import of 'pdb' is not used.
>      * Import of 'string' is not used.
>      * Import of 'time' is not used.
> 
> Signed-off-by: Konstantin Kharlamov <Hi-Angel at yandex.ru>
> ---
>   hw/xwin/glx/gen_gl_wrappers.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/xwin/glx/gen_gl_wrappers.py b/hw/xwin/glx/gen_gl_wrappers.py
> index b9e8dda75..256f2d752 100755
> --- a/hw/xwin/glx/gen_gl_wrappers.py
> +++ b/hw/xwin/glx/gen_gl_wrappers.py
> @@ -24,7 +24,7 @@
>   # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
>   # MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
>   
> -import sys, time, pdb, string, cProfile
> +import sys
>   from reg import *
>   
>   # Default input / log files

Thanks!


Reviewed-by: Jon Turney <jon.turney at dronecode.org.uk>



More information about the xorg-devel mailing list