diff src/indent.c @ 173:8eaf7971accc r20-3b13

Import from CVS: tag r20-3b13
author cvs
date Mon, 13 Aug 2007 09:49:09 +0200
parents 538048ae2ab8
children 3d6bfa290dbd
line wrap: on
line diff
--- a/src/indent.c	Mon Aug 13 09:47:55 2007 +0200
+++ b/src/indent.c	Mon Aug 13 09:49:09 2007 +0200
@@ -217,7 +217,7 @@
 */
        (buffer))
 {
-  return (make_int (current_column (decode_buffer (buffer, 0))));
+  return make_int (current_column (decode_buffer (buffer, 0)));
 }
 
 
@@ -287,7 +287,7 @@
   if (opoint > 0)
     BUF_SET_PT (buf, opoint);
 
-  return (make_int (mincol));
+  return make_int (mincol);
 }
 
 int
@@ -358,7 +358,7 @@
   int tab_width = XINT (buf->tab_width);
 
   int prev_col = 0;
-  Emchar c;
+  Emchar c = 0;
 
   XSETBUFFER (buffer, buf);
   if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
@@ -576,7 +576,7 @@
 	}
 
       if (ret_vpos) *ret_vpos = cur_line;
-      return (ret_pt);
+      return ret_pt;
     }
   else if (vtarget < 0)
     {
@@ -584,12 +584,12 @@
 	{
 	  if (ret_vpos) *ret_vpos = -elt;
 	  /* #### This should be BUF_BEGV (b), right? */
-	  return (Dynarr_atp (w->line_start_cache, 0)->start);
+	  return Dynarr_atp (w->line_start_cache, 0)->start;
 	}
       else
 	{
 	  if (ret_vpos) *ret_vpos = vtarget;
-	  return (Dynarr_atp (w->line_start_cache, elt + vtarget)->start);
+	  return Dynarr_atp (w->line_start_cache, elt + vtarget)->start;
 	}
     }
   else
@@ -598,7 +598,7 @@
          of the beginning of the current line. */
       if (ret_vpos) *ret_vpos = 0;
 
-      return (Dynarr_atp (w->line_start_cache, elt)->start);
+      return Dynarr_atp (w->line_start_cache, elt)->start;
     }
 
   RETURN_NOT_REACHED(0)	/* shut up compiler */