From 9234757c3591f19e2bbc3d2964f049b6879a972d Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 22 Jun 2010 11:21:09 +0100 Subject: [PATCH] material: fix a typo in _cogl_material_journal_unref The function had a line like: CoglMaterial *material = material = _cogl_material_pointer_from_handle (material_handle); where the duplicate "material =" wasn't intended, so this patch removes it. --- cogl/cogl-material.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl-material.c b/cogl/cogl-material.c index 7e6e2e9c5..99e09a293 100644 --- a/cogl/cogl-material.c +++ b/cogl/cogl-material.c @@ -7165,7 +7165,7 @@ void _cogl_material_journal_unref (CoglHandle material_handle) { CoglMaterial *material = - material = _cogl_material_pointer_from_handle (material_handle); + _cogl_material_pointer_from_handle (material_handle); material->journal_ref_count--; cogl_handle_unref (material_handle); }