c89 rocks. warnings are bad

SVN revision: 15919
This commit is contained in:
tsauerbeck 2005-07-27 18:23:53 +00:00 committed by tsauerbeck
parent ecdb983827
commit 83369e7d75
1 changed files with 2 additions and 2 deletions

View File

@ -592,9 +592,9 @@ ecore_dbus_get_body_field(Ecore_DBus_Message * m, Ecore_DBus_Message_Field * mf,
unsigned int pos)
{
Ecore_Oldlist *l, *list;
unsigned int i = 0;
list = (Ecore_Oldlist *) mf;
unsigned int i = 0;
for (l = list; l; l = l->next)
{
@ -860,7 +860,7 @@ ecore_dbus_message_new_method_call(Ecore_DBus_Server * svr, char *service,
printf("[ecore_dbus] unknown/unhandled data type %c\n", *fmt);
break;
}
*fmt++;
fmt++;
}
va_end(ap);
*(unsigned int *)(msg->header + 8) = msg->blength = msg->bpos;