Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0324/6

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


remove unnecessary return statements
 [rsc] --rw-rw-r-- M 1115807 glenda sys 4333 Mar 24 13:01 sys/src/cmd/acid/proc.c
	/n/sourcesdump/2006/0324/plan9/sys/src/cmd/acid/proc.c:276,280 - 
	/n/sourcesdump/2006/0325/plan9/sys/src/cmd/acid/proc.c:276,279
	  			return w;
	  		free(w);
	  	}
	- 	return nil;	/* ken */
	  }
 [rsc] --rw-rw-r-- M 1115807 glenda sys 14428 Mar 24 13:06 sys/src/cmd/vt/main.c
	/n/sourcesdump/2006/0324/plan9/sys/src/cmd/vt/main.c:519,525 - 
	/n/sourcesdump/2006/0325/plan9/sys/src/cmd/vt/main.c:519,524
	  		} while(newmouse == 1);
	  		cursoff();	/* turn cursor back off */
	  	}
	- 	return 1;		/* to shut up compiler */
	  }
	  
	  void


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].