forked from enlightenment/efl
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:
parent
d1fac92dc8
commit
27c999d5ae
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue