Author: damitha
Date: Mon Apr 13 03:45:05 2009
New Revision: 764355
URL: http://svn.apache.org/viewvc?rev=764355&view=rev
Log:
Removed newly introduced warnings
Modified:
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c
webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c
Modified:
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c?rev=764355&r1=764354&r2=764355&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c
(original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c Mon
Apr 13 03:45:05 2009
@@ -1041,9 +1041,11 @@
#if !defined(WIN32)
{
+ int ret = -1;
+
axis2_char_t permission_str[256];
sprintf(permission_str, "chmod 777 %s", dbname);
- system(permission_str);
+ ret = system(permission_str);
}
#endif
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c?rev=764355&r1=764354&r2=764355&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/sqlite3.c Mon Apr 13
03:45:05 2009
@@ -17117,7 +17117,8 @@
pid = getpid();
memcpy(&zBuf[sizeof(t)], &pid, sizeof(pid));
}else{
- read(fd, zBuf, nBuf);
+ int ret = -1;
+ ret = read(fd, zBuf, nBuf);
close(fd);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]