Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0325/3

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


remove unnecessary return statements
 [rsc] --rw-rw-r-- M 1168567 glenda sys 37706 Mar 25 07:27 sys/src/cmd/dossrv/dossubs.c
	/n/sourcesdump/2006/0325/plan9/sys/src/cmd/dossrv/dossubs.c:1501,1507 - 
	/n/sourcesdump/2006/0326/plan9/sys/src/cmd/dossrv/dossubs.c:1501,1506
	  			return 0;
	  		clust = next;
	  	}
	- 	return 0;	/* not reached */
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 1168567 glenda sys 15331 Mar 25 07:27 sys/src/cmd/ndb/dnresolve.c
	/n/sourcesdump/2006/0325/plan9/sys/src/cmd/ndb/dnresolve.c:389,396 - 
	/n/sourcesdump/2006/0326/plan9/sys/src/cmd/ndb/dnresolve.c:389,394
	  
	  		return 0;
	  	}
	- 
	- 	return 0;	/* never reached */
	  }
	  
	  /*
 [rsc] --rw-rw-r-- M 1168567 glenda sys 3951 Mar 25 07:28 sys/src/cmd/ssh/pubkey.c
	/n/sourcesdump/2006/0325/plan9/sys/src/cmd/ssh/pubkey.c:79,85 - 
	/n/sourcesdump/2006/0326/plan9/sys/src/cmd/ssh/pubkey.c:79,84
	  		fprint(2, "warning: skipping line '%s'; cannot parse\n", s);
	  		free(s);
	  	}
	- 	return nil;	/* ken */
	  }
	  
	  static int
 [rsc] --rw-rw-r-- M 1168567 rsc sys 21732 Mar 25 07:27 sys/src/cmd/unix/netkey.c
	/n/sourcesdump/2006/0325/plan9/sys/src/cmd/unix/netkey.c:537,543 - 
	/n/sourcesdump/2006/0326/plan9/sys/src/cmd/unix/netkey.c:537,542
	  		}
	  		encrypt9(key, t, 8);
	  	}
	- 	return 1;	/* not reached */
	  }
	  
	  int


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.