On Wed, 18 Jan 2012 10:57:43 +0100 Sebastian Dransfeld <s...@tango.flipp.net> wrote:
> This should be changed to > > if (write() < 0) perror(); > > else you will get unchecked return warning. > > S. > > On 01/15/2012 07:42 PM, Enlightenment SVN wrote: > > Log: > > From: Stefan Schmidt<ste...@datenfreihafen.org> > > Date: Sun, 15 Jan 2012 13:46:07 +0100 > > Subject: [PATCH 2/2] ecore_con_info: Remove unused err variable. > > > > > > Author: discomfitor > > Date: 2012-01-15 10:42:13 -0800 (Sun, 15 Jan 2012) > > New Revision: 67233 > > Trac: http://trac.enlightenment.org/e/changeset/67233 > > > > Modified: > > trunk/ecore/src/lib/ecore_con/ecore_con_info.c > > > > Modified: trunk/ecore/src/lib/ecore_con/ecore_con_info.c > > =================================================================== > > --- trunk/ecore/src/lib/ecore_con/ecore_con_info.c 2012-01-15 > > 11:37:16 UTC (rev 67232) +++ > > trunk/ecore/src/lib/ecore_con/ecore_con_info.c 2012-01-15 18:42:13 > > UTC (rev 67233) @@ -244,7 +244,6 @@ unsigned char *tosend = NULL; > > int tosend_len; > > int canonname_len = 0; > > - int err; > > > > eina_convert_itoa(svr->ecs ? svr->ecs->port : svr->port, service); > > /* CHILD */ > > @@ -281,13 +280,13 @@ > > memcpy(container->service, sbuf, > > sizeof(container->service)); } > > > > - err = write(fd[1], tosend, tosend_len); > > + write(fd[1], tosend, tosend_len); > > } > > > > if (result) > > freeaddrinfo(result); > > > > - err = write(fd[1], "", 1); > > + write(fd[1], "", 1); > > close(fd[1]); > > #if defined(__USE_ISOC99)&& !defined(__UCLIBC__) > > _Exit(0); > > > > yep, raster already did ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel