diff src/device-tty.c @ 288:e11d67e05968 r21-0b42

Import from CVS: tag r21-0b42
author cvs
date Mon, 13 Aug 2007 10:35:54 +0200
parents 558f606b08ae
children 74fd4e045ea6
line wrap: on
line diff
--- a/src/device-tty.c	Mon Aug 13 10:35:07 2007 +0200
+++ b/src/device-tty.c	Mon Aug 13 10:35:54 2007 +0200
@@ -190,11 +190,9 @@
     case DM_size_device:
       return Fcons (make_int (CONSOLE_TTY_DATA (con)->width),
 		    make_int (CONSOLE_TTY_DATA (con)->height));
-      break;
+    default: /* No such device metric property for TTY devices */
+      return Qunbound;
     }
-
-  /* Do not know such property */
-  return Qunbound;
 }
 
 /************************************************************************/