summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Pinot <ngc891@gmail.com>2015-05-03 10:08:24 +0900
committerJerome Pinot <ngc891@gmail.com>2015-05-03 10:08:24 +0900
commit98c7b60561bd2c0e35047c367ff1b5146c841dbd (patch)
tree587b342b4e82773b8bb50b1a2c0f165b89e26e04
parent3f961fe9e953442967b756ae254771e8eed05627 (diff)
Initialize properly mass_tmpHEADmaster
-rw-r--r--src/mwcalc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mwcalc.c b/src/mwcalc.c
index dd6bb70..90829bc 100644
--- a/src/mwcalc.c
+++ b/src/mwcalc.c
@@ -78,7 +78,8 @@ double mwcalc(const char *formula)
78 int size, i; 78 int size, i;
79 Eina_Bool ptest; 79 Eina_Bool ptest;
80 int coeff, coeffp; 80 int coeff, coeffp;
81 double mass, mass_tmp; 81 double mass = 0;
82 double mass_tmp = 0;
82 Eina_Strbuf *buffer; 83 Eina_Strbuf *buffer;
83 84
84 size = strlen(formula); 85 size = strlen(formula);
@@ -88,7 +89,6 @@ double mwcalc(const char *formula)
88 return 0; 89 return 0;
89 } 90 }
90 91
91 mass = 0;
92 ptest = EINA_FALSE; 92 ptest = EINA_FALSE;
93 buffer = eina_strbuf_new(); 93 buffer = eina_strbuf_new();
94 94