]> granicus.if.org Git - postgresql/commitdiff
Cleanup of patch just applied.
authorBruce Momjian <bruce@momjian.us>
Mon, 19 Jul 1999 16:49:17 +0000 (16:49 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 19 Jul 1999 16:49:17 +0000 (16:49 +0000)
src/bin/psql/psql.c

index d788b1832009b19130aa4dc708ae3b8e9ce77ceb..88396d48c71e68f874074472c892f3da3069c93a 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.185 1999/07/19 16:46:53 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.186 1999/07/19 16:49:17 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -2876,13 +2876,9 @@ main(int argc, char **argv)
                pqsignal(SIGINT, handle_sigint);                /* control-C => cancel */
 #ifdef USE_READLINE
                settings.useReadline = 1;
-               {
-                       /*
-                        * Set the application name, used for parsing .inputrc -- dz
-                        */
-                       char *progname = strrchr(argv[0], SEP_CHAR);
-                       rl_readline_name = (progname ? progname+1 : argv[0]);
-               }
+               /* Set the application name, used for parsing .inputrc */
+               char *progname = strrchr(argv[0], SEP_CHAR);
+               rl_readline_name = (progname ? progname+1 : argv[0]);
 #endif
        }
 #ifdef PSQL_ALWAYS_GET_PASSWORDS