Bug 550188. qcms: remove an empty loop that annoyed coverity. r=bgirard
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 04 Mar 2010 12:13:13 -0500
changeset 38934 e28e617a4e7f18f0f1cb573669b1a8ab07537598
parent 38933 7db1b9d406ef518aa7fca45c225551f684e96d8c
child 38935 a6a6824e2a0e84fd89813dfe3379fb4d4745ff82
push id11943
push userjmuizelaar@mozilla.com
push dateThu, 04 Mar 2010 17:16:26 +0000
treeherdermozilla-central@e28e617a4e7f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgirard
bugs550188
milestone1.9.3a3pre
Bug 550188. qcms: remove an empty loop that annoyed coverity. r=bgirard
gfx/qcms/iccread.c
--- a/gfx/qcms/iccread.c
+++ b/gfx/qcms/iccread.c
@@ -416,18 +416,16 @@ static struct lutType *read_tag_lutType(
 	lut->e10 = read_s15Fixed16Number(src, offset+24);
 	lut->e11 = read_s15Fixed16Number(src, offset+28);
 	lut->e12 = read_s15Fixed16Number(src, offset+32);
 	lut->e20 = read_s15Fixed16Number(src, offset+36);
 	lut->e21 = read_s15Fixed16Number(src, offset+40);
 	lut->e22 = read_s15Fixed16Number(src, offset+44);
 
 	//TODO: finish up
-	for (i = 0; i < lut->num_input_table_entries; i++) {
-	}
 	return lut;
 }
 
 static void read_rendering_intent(qcms_profile *profile, struct mem_source *src)
 {
 	profile->rendering_intent = read_u32(src, 64);
 	switch (profile->rendering_intent) {
 		case QCMS_INTENT_PERCEPTUAL: