diff options
author | Larsson@.(none) <Larsson@.(none)> | 2010-02-26 08:55:36 +0100 |
---|---|---|
committer | unknown <Alexander Larsson@.(none)> | 2010-03-01 15:12:32 +0100 |
commit | ea92e6c063eb667f1eb69ce1103987c461d56219 (patch) | |
tree | 13e3c8fc8d49c6be41557ba0db5666f08e196224 /common/pixman_utils.c | |
parent | bb77edf6435af599830e9500c13b8ef9d196e9c0 (diff) | |
download | spice-ea92e6c063eb667f1eb69ce1103987c461d56219.tar.gz spice-ea92e6c063eb667f1eb69ce1103987c461d56219.tar.xz spice-ea92e6c063eb667f1eb69ce1103987c461d56219.zip |
Fix warnings from visual studio compiler
Diffstat (limited to 'common/pixman_utils.c')
-rw-r--r-- | common/pixman_utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/pixman_utils.c b/common/pixman_utils.c index 27257f7a..30e89192 100644 --- a/common/pixman_utils.c +++ b/common/pixman_utils.c @@ -43,7 +43,7 @@ solid_rop_ ## _name ## _ ## _size (_type *ptr, int len, _type src) \ { \ while (len--) { \ _type dst = *ptr; \ - if (dst) /* avoid unused warning */; \ + if (dst) /* avoid unused warning */{}; \ *ptr = (_type)(_equation); \ ptr++; \ } \ @@ -56,8 +56,8 @@ tiled_rop_ ## _name ## _ ## _size (_type *ptr, int len, _type *tile, _type *tile while (len--) { \ _type src = *tile; \ _type dst = *ptr; \ - if (src) /* avoid unused warning */; \ - if (dst) /* avoid unused warning */; \ + if (src) /* avoid unused warning */{}; \ + if (dst) /* avoid unused warning */{}; \ *ptr = (_type)(_equation); \ ptr++; \ tile++; \ @@ -73,8 +73,8 @@ static void \ while (len--) { \ _type src = *src_line; \ _type dst = *ptr; \ - if (src) /* avoid unused warning */; \ - if (dst) /* avoid unused warning */; \ + if (src) /* avoid unused warning */ {}; \ + if (dst) /* avoid unused warning */{}; \ *ptr = (_type)(_equation); \ ptr++; \ src_line++; \ |