raster pushed a commit to branch master.

commit aaf5a5531921f890c18182c82556e387dec335ea
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Jul 16 16:55:03 2013 +0900

    fir clang nonnull complaint
---
 src/lib/eet/eet_data.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eet/eet_data.c b/src/lib/eet/eet_data.c
index 9a31b3d..0a492ac 100644
--- a/src/lib/eet/eet_data.c
+++ b/src/lib/eet/eet_data.c
@@ -1658,8 +1658,8 @@ eet_data_stream_write(Eet_Data_Stream *ds,
 
         ds->size = ds->size + size + 512;
      }
-
    p = ds->data;
+   if (!p) return;
    memcpy(p + ds->pos, data, size);
    ds->pos += size;
 }

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to