babl: remove dead code
authorØyvind Kolås <pippin@gimp.org>
Sat, 1 Dec 2018 20:35:23 +0000 (21:35 +0100)
committerØyvind Kolås <pippin@gimp.org>
Sat, 1 Dec 2018 20:35:23 +0000 (21:35 +0100)
babl/babl-space.c

index fcadc8c5d2bb65c5cba74ed356dcb623c46424a0..174afc5c589af5369c242b27e924ba80277efd3c 100644 (file)
@@ -247,7 +247,7 @@ _babl_space_for_lcms (const char *icc_data, int icc_length)
   }
 
   /* initialize it with copy of srgb content */
-  if(1){
+  {
     const BablSpace *srgb = &babl_space("sRGB")->space;
     memcpy (&space.xw,
             &srgb->xw,