[asterisk-commits] seanbright: trunk r123041 - /trunk/cdr/cdr_tds.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 16 11:29:19 CDT 2008


Author: seanbright
Date: Mon Jun 16 11:29:18 2008
New Revision: 123041

URL: http://svn.digium.com/view/asterisk?view=rev&rev=123041
Log:
Remove some unused variables

Modified:
    trunk/cdr/cdr_tds.c

Modified: trunk/cdr/cdr_tds.c
URL: http://svn.digium.com/view/asterisk/trunk/cdr/cdr_tds.c?view=diff&rev=123041&r1=123040&r2=123041
==============================================================================
--- trunk/cdr/cdr_tds.c (original)
+++ trunk/cdr/cdr_tds.c Mon Jun 16 11:29:18 2008
@@ -407,14 +407,10 @@
 
 static int tds_load_module(int reload)
 {
-	int res = 0;
 	struct ast_config *cfg;
 	struct ast_variable *var;
 	const char *ptr = NULL;
 	struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
-#ifdef FREETDS_PRE_0_62
-	TDS_INT result_type;
-#endif
 
 	cfg = ast_config_load(config, config_flags);
 	if (!cfg) {
@@ -493,7 +489,7 @@
 	mssql_connect();
 	ast_mutex_unlock(&tds_lock);
 
-	return res;
+	return 1;
 }
 
 static int reload(void)




More information about the asterisk-commits mailing list