Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Cluster Development (http://www.linux-archive.org/cluster-development/)
-   -   ccs_config_dump: remove unnecessary pointer to env (http://www.linux-archive.org/cluster-development/591081-ccs_config_dump-remove-unnecessary-pointer-env.html)

"Fabio M. Di Nitto" 10-25-2011 12:08 PM

ccs_config_dump: remove unnecessary pointer to env
 
Spotted by Coverity Scan

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
:100644 100644 74c33c2... 022777f... M config/tools/xml/ccs_config_dump.c
config/tools/xml/ccs_config_dump.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/tools/xml/ccs_config_dump.c b/config/tools/xml/ccs_config_dump.c
index 74c33c2..022777f 100644
--- a/config/tools/xml/ccs_config_dump.c
+++ b/config/tools/xml/ccs_config_dump.c
@@ -154,7 +154,7 @@ static void read_arguments(int argc, char **argv)
}
}

-int main(int argc, char *argv[], char *envp[])
+int main(int argc, char *argv[])
{
confdb_handle_t handle = 0;
hdb_handle_t cluster_handle;
--
1.7.4.4


All times are GMT. The time now is 06:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.