]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix a Coverity issue reported in vgauth/serviceImpl/verify.c
authorOliver Kurth <okurth@vmware.com>
Wed, 3 Jul 2019 21:28:56 +0000 (14:28 -0700)
committerOliver Kurth <okurth@vmware.com>
Wed, 3 Jul 2019 21:28:56 +0000 (14:28 -0700)
open-vm-tools/vgauth/serviceImpl/verify.c

index f69edc0ab814ac2858ae17054a07df05269f4cad..bda1013eaa933266d6aaddc69ed9b98dfc6431c6 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2011-2018 VMware, Inc. All rights reserved.
+ * Copyright (C) 2011-2019 VMware, Inc. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published
 VGAuthError
 ServiceInitVerify(void)
 {
-   VGAuthError err;
 
    CertVerify_Init();
-   err = SAML_Init();
-   if (err != VGAUTH_E_OK) {
-      goto done;
-   }
-done:
-   return err;
+   return SAML_Init();
 }