[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
compiler warnings ...
- From: "Sameer Sahasrabuddhe" <sameerds gmail com>
- To: "discussions about usage and development of dia" <dia-list gnome org>
- Subject: compiler warnings ...
- Date: Wed, 19 Nov 2008 12:21:07 +0530
... small patch.
Sameer.
--
http://www.it.iitb.ac.in/~sameerds/
=== modified file 'objects/Database/table.c'
--- objects/Database/table.c 2008-11-18 10:10:03 +0000
+++ objects/Database/table.c 2008-11-18 10:12:35 +0000
@@ -764,7 +764,7 @@
static real
table_distance_from (Table * table, Point *point)
{
- Rectangle * rect;
+ const Rectangle * rect;
DiaObject * obj;
obj = &table->element.object;
=== modified file 'objects/UML/class.c'
--- objects/UML/class.c 2008-11-18 10:10:03 +0000
+++ objects/UML/class.c 2008-11-18 10:12:35 +0000
@@ -497,7 +497,6 @@
DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
Point UnderlineStartPoint;
Point UnderlineEndPoint;
- Point WhitespaceEndPoint;
gchar *whitespaces;
int first_non_whitespace = 0;
@@ -1266,7 +1265,6 @@
if (umlclass->template) {
/* fix boundingumlclass for templates: */
- real bb_width = obj->bounding_box.right - obj->bounding_box.left;
obj->bounding_box.top -= (umlclass->templates_height - UMLCLASS_TEMPLATE_OVERLAY_Y) ;
obj->bounding_box.right += (umlclass->templates_width - UMLCLASS_TEMPLATE_OVERLAY_X);
obj->bounding_box.left -= (elem->width < UMLCLASS_TEMPLATE_OVERLAY_X) ?
@@ -2332,7 +2330,7 @@
int num_fixed_connections = UMLCLASS_CONNECTIONPOINTS;
#endif
DiaObject *obj = (DiaObject*)c;
- GList *attrs, *ops;
+ GList *attrs;
int i;
dia_object_sanity_check((DiaObject *)c, msg);
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]