* config.in: Regenerate.
[binutils-gdb.git] / gdb / serial.c
index 305ac33edf930a3406964162ff341baa383c1e70..75a08781d20ba436d386953412853e9039853797 100644 (file)
@@ -247,7 +247,6 @@ struct serial *
 serial_for_fd (int fd)
 {
   struct serial *scb;
-  struct serial_ops *ops;
 
   for (scb = scb_base; scb; scb = scb->next)
     if (scb->fd == fd)
@@ -529,6 +528,7 @@ serial_async (struct serial *scb,
              void *context)
 {
   int changed = ((scb->async_handler == NULL) != (handler == NULL));
+
   scb->async_handler = handler;
   scb->async_context = context;
   /* Only change mode if there is a need.  */