summaryrefslogtreecommitdiff
path: root/lib/sbin/create_c_stuff.pl
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-12 12:24:55 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-12 12:24:55 +0000
commit986b3b54763efc922b08fc65df881ba5ddd69675 (patch)
treef4e9031356d233253034ff8929e3337e853791c3 /lib/sbin/create_c_stuff.pl
parent9a4e25c5ee25f671d74f96cc657fa58741359f28 (diff)
Final code for supporting
USE_CCTK_PARAMETERS USE_CCTK_CARGUMENTS which can be used to remove all the warnings about unused variables (seen on the origin or if you compile with all warnings) git-svn-id: http://svn.cactuscode.org/flesh/trunk@1231 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/create_c_stuff.pl')
-rw-r--r--lib/sbin/create_c_stuff.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sbin/create_c_stuff.pl b/lib/sbin/create_c_stuff.pl
index 6d601a53..fa6ba966 100644
--- a/lib/sbin/create_c_stuff.pl
+++ b/lib/sbin/create_c_stuff.pl
@@ -213,6 +213,7 @@ sub CreateCStructureParameterHeader
push(@definition, $line);
+ $line = "";
if ($type_string =~ /CCTK_REAL/)
{
$line = "cctk_pdummy_real=$parameter;";
@@ -230,6 +231,7 @@ sub CreateCStructureParameterHeader
print "missed $type_string\n";
exit;
}
+
push(@use, $line);
}