Removed Compilation warning - Unused return value 60/33160/2
authorAnkur <ankur29.garg@samsung.com>
Tue, 6 Jan 2015 12:09:48 +0000 (17:39 +0530)
committerKibak Yoon <kibak.yoon@samsung.com>
Wed, 7 Jan 2015 12:54:26 +0000 (04:54 -0800)
commita2ed47c719f02d24fd7b1964b0299f27f42b9d54
treef8d573a291c9dde2db9222a11d392663b23e1993
parentf9104acdd5938fee9123cb7a376acd8e4de8c223
Removed Compilation warning - Unused return value

-Return value from the function call to write() was not being used, generating a compilation warning.
-Added a while loop to check how many bytes are written in each iteration and ensure that the whole buffer is written.

Change-Id: Ice225aa6cfd4eb36293e5475c1d37ebf672e633a
src/shared/common.cpp