summaryrefslogtreecommitdiff
path: root/src/main/Parameters.c
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-08-02 01:49:51 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-08-02 01:49:51 +0000
commit4962083863ac1546b9a93e1acbd1e4425a0fc56d (patch)
tree1fbdfe70e654a4e0c92316be9bdb77820e4cdc41 /src/main/Parameters.c
parentd2ff6769790fe5fae22032aa2e9bd7e056f8d23f (diff)
Removed unused variable.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1797 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/Parameters.c')
-rw-r--r--src/main/Parameters.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/Parameters.c b/src/main/Parameters.c
index 3c11157c..30bddfdf 100644
--- a/src/main/Parameters.c
+++ b/src/main/Parameters.c
@@ -1094,12 +1094,9 @@ static t_param *ParameterNew(const char *thorn,
const char *defval,
void *data)
{
- int retval;
t_param *newparam;
char ** stringdata;
- retval = -1;
-
newparam = (t_param *)malloc(sizeof(t_param));
if(newparam)
@@ -1139,7 +1136,7 @@ static t_param *ParameterNew(const char *thorn,
strcpy(newparam->props->description, description);
strcpy(newparam->props->defval, defval);
- retval = ParameterInsert(&paramtree, newparam);
+ ParameterInsert(&paramtree, newparam);
}
}
}