Initialize var to Zero (remove compiler warning).

Remove Whitespace in cs_server.



SVN revision: 51283
This commit is contained in:
Christopher Michael 2010-08-18 15:27:37 +00:00
parent cbe3c3a21c
commit 76bc67ea7c
2 changed files with 3 additions and 2 deletions

View File

@ -5039,7 +5039,8 @@ _evas_textblock_node_text_remove_formats_between(Evas_Object_Textblock *o,
while (itr && (itr->text_node == n))
{
Evas_Object_Textblock_Node_Format *nnode;
int tmp_offset;
int tmp_offset = 0;
/* start is negative when this gets relevant */
if ((offset + start <= 0) && use_end)
{

View File

@ -213,7 +213,7 @@ server_parse(Server *s, Client *c)
{
int *ints;
unsigned char *data, *newbuf;
if (c->inbufsize < sizeof(int)) return 0;
ints = (int *)((c->inbuf));
if ((ints[0] < 0) || (ints[0] > (1024 * 1024)))