projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f1dae4
)
removed C99 feature
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Jun 2007 18:53:56 +0000
(18:53 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Jun 2007 18:53:56 +0000
(18:53 +0000)
[r14617]
ir/tv/fltcalc.c
patch
|
blob
|
history
diff --git
a/ir/tv/fltcalc.c
b/ir/tv/fltcalc.c
index
db14475
..
224082c
100644
(file)
--- a/
ir/tv/fltcalc.c
+++ b/
ir/tv/fltcalc.c
@@
-897,7
+897,6
@@
int fc_get_buffer_length(void)
char* fc_val_from_str(const char *str, unsigned int len, char exp_size, char mant_size, char *result)
{
- (void) len;
#if 0
enum {
START,
@@
-916,6
+915,7
@@
char* fc_val_from_str(const char *str, unsigned int len, char exp_size, char man
int pos;
char *mant_str, *exp_val, *power_val;
+ (void) len;
if (result == NULL) result = calc_buffer;
exp_val = alloca(value_size);
@@
-1080,6
+1080,8
@@
done:
/* XXX excuse of an implementation to make things work */
LLDBL val;
+ (void) len;
+
#ifdef HAVE_LONG_DOUBLE
val = strtold(str, NULL);
#else