[gs-cvs] rev 9549 - trunk/gs/psi
alexcher at ghostscript.com
alexcher at ghostscript.com
Thu Mar 12 06:32:23 PDT 2009
Author: alexcher
Date: 2009-03-12 06:32:23 -0700 (Thu, 12 Mar 2009)
New Revision: 9549
Modified:
trunk/gs/psi/iutil2.c
Log:
Remove code that has no effect other than moving uninitialized data around
and causing Coverity warning.
DIFFERENCES:
None
Modified: trunk/gs/psi/iutil2.c
===================================================================
--- trunk/gs/psi/iutil2.c 2009-03-12 06:54:17 UTC (rev 9548)
+++ trunk/gs/psi/iutil2.c 2009-03-12 13:32:23 UTC (rev 9549)
@@ -34,11 +34,8 @@
{
gs_param_string ps;
long ipass;
- int code;
+ int code = param_read_string(plist, kstr, &ps);
- ps.data = (const byte *)ppass->data, ps.size = ppass->size,
- ps.persistent = false;
- code = param_read_string(plist, kstr, &ps);
switch (code) {
case 0: /* OK */
if (ps.size > MAX_PASSWORD)
More information about the gs-cvs
mailing list