projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fc2ddcf
)
simplify
author
Matthias Braun
<matze@braunis.de>
Wed, 3 Sep 2008 12:43:25 +0000
(12:43 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 3 Sep 2008 12:43:25 +0000
(12:43 +0000)
[r21665]
ir/be/test/fehler147.c
patch
|
blob
|
history
diff --git
a/ir/be/test/fehler147.c
b/ir/be/test/fehler147.c
index
0ab53fd
..
de69b5f
100644
(file)
--- a/
ir/be/test/fehler147.c
+++ b/
ir/be/test/fehler147.c
@@
-6,12
+6,6
@@
void foo(unsigned char *colors) {
int v;
float glow = g;
- if (glow < 0) {
- glow = 0;
- } else if(glow > 1) {
- glow = 1;
- }
-
v = myftol(255*glow);
colors[0] = colors[1] = colors[2] = v;
}