elementary/cnp_helper - patched by PRINCE KUMAR DUBEY <prince.dubey@samsung.com>

Hi,

On behalf of Rajeev Ranjan, I am submitting the elm_cnp_helper patch.

Change Log:
Removal of DEAD_CODE (Unreachable code statement tmppath = "/tmp").

Please review it.
I'd appreciate any comments on this.

Thank you,



SVN revision: 65666
This commit is contained in:
ChunEon Park 2011-11-29 00:52:09 +00:00
parent d1fac92dc8
commit 27c999d5ae
1 changed files with 0 additions and 1 deletions

View File

@ -1631,7 +1631,6 @@ elm_cnp_tempfile_create(int size)
tmppath = getenv("TMP");
if (!tmppath) tmppath = P_tmpdir;
if (!tmppath) tmppath = "/tmp";
len = snprintf(NULL, 0, "%s/%sXXXXXX", tmppath, "elmcnpitem-");
if (len < 0)
{