[babl/wip/msvc: 9/20] babl/babl-space.c: Don't use empty arrays
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl/wip/msvc: 9/20] babl/babl-space.c: Don't use empty arrays
- Date: Wed, 22 Jan 2020 08:10:19 +0000 (UTC)
commit 1a29acc9722ce7a4e4be95fd192ce35602f3394b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Jan 20 16:39:14 2020 +0800
babl/babl-space.c: Don't use empty arrays
Visual Studio does not support this, although now it supports many parts of C99
babl/babl-space.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/babl/babl-space.c b/babl/babl-space.c
index 90c0a50f9..586ebcea4 100644
--- a/babl/babl-space.c
+++ b/babl/babl-space.c
@@ -111,8 +111,8 @@ babl_matrix_equalize (double *in_mat)
0.0, 0.0, 0.0, // black
0.5, 0.5, 0.5, // gray
0.33, 0.33, 0.33}; // grey
- double out[12] = {};
- double lab[12] = {};
+ double out[12] = {0,};
+ double lab[12] = {0,};
double best_error = 1000000.0;
int i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]