Commit ffa1d155 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Drop a couple of unused variables.

2004-07-04  Tor Lillqvist  <tml@iki.fi>

	* app/core/gimpdrawable-equalize.c (gimp_drawable_equalize): Drop
	a couple of unused variables.

	* libgimpmodule/gimpmodule.def: Add gimp_module_register_enum.
parent b08e39d6
2004-07-04 Tor Lillqvist <tml@iki.fi>
* app/core/gimpdrawable-equalize.c (gimp_drawable_equalize): Drop
a couple of unused variables.
* libgimpmodule/gimpmodule.def: Add gimp_module_register_enum.
2004-07-04 Sven Neumann <sven@gimp.org>
* libgimpmodule/gimpmodule.[ch]: added gimp_module_register_enum(),
......
......@@ -45,8 +45,7 @@ gimp_drawable_equalize (GimpDrawable *drawable,
{
PixelRegion srcPR, destPR;
guchar *mask;
gint has_alpha;
gint alpha, bytes;
gint bytes;
gint x1, y1, x2, y2;
GimpHistogram *hist;
GimpLut *lut;
......@@ -57,8 +56,6 @@ gimp_drawable_equalize (GimpDrawable *drawable,
mask = NULL;
bytes = gimp_drawable_bytes (drawable);
has_alpha = gimp_drawable_has_alpha (drawable);
alpha = has_alpha ? (bytes - 1) : bytes;
gimage = gimp_item_get_image (GIMP_ITEM (drawable));
......
......@@ -12,5 +12,6 @@ EXPORTS
gimp_module_modified
gimp_module_new
gimp_module_query_module
gimp_module_register_enum
gimp_module_set_load_inhibit
gimp_module_state_name
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment