forked from enlightenment/efl
Initialize var to Zero (remove compiler warning).
Remove Whitespace in cs_server. SVN revision: 51283
This commit is contained in:
parent
cbe3c3a21c
commit
76bc67ea7c
|
@ -5039,7 +5039,8 @@ _evas_textblock_node_text_remove_formats_between(Evas_Object_Textblock *o,
|
||||||
while (itr && (itr->text_node == n))
|
while (itr && (itr->text_node == n))
|
||||||
{
|
{
|
||||||
Evas_Object_Textblock_Node_Format *nnode;
|
Evas_Object_Textblock_Node_Format *nnode;
|
||||||
int tmp_offset;
|
int tmp_offset = 0;
|
||||||
|
|
||||||
/* start is negative when this gets relevant */
|
/* start is negative when this gets relevant */
|
||||||
if ((offset + start <= 0) && use_end)
|
if ((offset + start <= 0) && use_end)
|
||||||
{
|
{
|
||||||
|
|
|
@ -213,7 +213,7 @@ server_parse(Server *s, Client *c)
|
||||||
{
|
{
|
||||||
int *ints;
|
int *ints;
|
||||||
unsigned char *data, *newbuf;
|
unsigned char *data, *newbuf;
|
||||||
|
|
||||||
if (c->inbufsize < sizeof(int)) return 0;
|
if (c->inbufsize < sizeof(int)) return 0;
|
||||||
ints = (int *)((c->inbuf));
|
ints = (int *)((c->inbuf));
|
||||||
if ((ints[0] < 0) || (ints[0] > (1024 * 1024)))
|
if ((ints[0] < 0) || (ints[0] > (1024 * 1024)))
|
||||||
|
|
Loading…
Reference in New Issue