]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: remove VBoxCGlueTerm
authorJán Tomko <jtomko@redhat.com>
Tue, 22 Sep 2020 20:38:34 +0000 (22:38 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 24 Sep 2020 09:19:06 +0000 (11:19 +0200)
commitef2532fcbde55cd4ec3cd56c00cc2c8a33d32521
treeeef8560a8d1b17b36c04c4eac32b04c58d14e722
parentbb93310aa8f67de4e5bb54e6ca020cf4e536b1bc
vbox: remove VBoxCGlueTerm

cppcheck reports:
  src/vbox/vbox_XPCOMCGlue.c:226:21: style:
  The statement 'if (hVBoxXPCOMC!=NULL) hVBoxXPCOMC=NULL' is
  logically equivalent to 'hVBoxXPCOMC=NULL'.
  [duplicateConditionalAssign]

It does not matter anyway because this function
is never called.

Fixes: e1506cb4eb7eab96e7ded27a23f0d8ac9697ac2a
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/vbox/vbox_XPCOMCGlue.c
src/vbox/vbox_XPCOMCGlue.h