summaryrefslogtreecommitdiff
path: root/lib/sbin
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-11 16:34:03 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-11 16:34:03 +0000
commit9a4e25c5ee25f671d74f96cc657fa58741359f28 (patch)
treea9fdc5a6b3f5ae14ecc8fa0ce52c0890370b636b /lib/sbin
parentbf0dfa39b4bd74f4d8495d364c5fff56b1959942 (diff)
More stuff to remove warnings
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1230 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin')
-rw-r--r--lib/sbin/CreateParameterBindings.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sbin/CreateParameterBindings.pl b/lib/sbin/CreateParameterBindings.pl
index ddc5df2c..877ad6d4 100644
--- a/lib/sbin/CreateParameterBindings.pl
+++ b/lib/sbin/CreateParameterBindings.pl
@@ -299,6 +299,11 @@ sub CreateParameterBindings
$dataout .= "#define DECLARE_CCTK_PARAMETERS \\\n";
+ $dataout .= "void *cctk_pdummy_pointer;\\
+ int cctk_pdummy_int;\\
+ CCTK_REAL cctk_pdummy_real;\\\n";
+
+
$decl = "DECLARE_GLOBAL_PARAMETER_STRUCT_PARAMS";
if($header_files{"GLOBAL"})
{
@@ -325,6 +330,11 @@ sub CreateParameterBindings
$dataout .= "\n";
$dataout .= "#define USE_CCTK_PARAMETERS \\\n";
+ $dataout .= "cctk_pdummy_int=0;\\
+ cctk_pdummy_int+=0;\\
+ cctk_pdummy_real=0;\\
+ cctk_pdummy_real+=0;\\
+ cctk_pdummy_pointer=NULL;\\\n";
$decl = "USE_GLOBAL_PARAMETER_STRUCT_PARAMS";
if($header_files{"GLOBAL"})