• R/O
  • HTTP
  • SSH
  • HTTPS

lha: Commit


Commit MetaInfo

Revision792a675191f0501979c448cbbd06ae71cf843159 (tree)
Time2016-10-06 22:47:33
AuthorKoji Arai <jca02266@gmai...>
CommiterKoji Arai

Log Message

Remove unnecessary comments

Change Summary

Incremental Difference

--- a/src/lhext.c
+++ b/src/lhext.c
@@ -430,13 +430,11 @@ extract_one(afp, hdr)
430430 }
431431 }
432432
433- if (skip_flg == TRUE) { /* if skip_flg */
433+ if (skip_flg == TRUE) {
434434 if (stat(name, &stbuf) == 0 && force != TRUE) {
435- /* if (stbuf.st_mtime >= hdr->unix_last_modified_stamp) {*/
436- if (quiet != TRUE)
437- printf("%s : Skipped...\n", name);
438- return read_size;
439- /* } */
435+ if (quiet != TRUE)
436+ printf("%s : Skipped...\n", name);
437+ return read_size;
440438 }
441439 }
442440 if (noexec) {
@@ -517,13 +515,11 @@ extract_one(afp, hdr)
517515 }
518516 }
519517
520- if (skip_flg == TRUE) { /* if skip_flg */
518+ if (skip_flg == TRUE) {
521519 if (GETSTAT(name, &stbuf) == 0 && force != TRUE) {
522- /* if (stbuf.st_mtime >= hdr->unix_last_modified_stamp) { */
523- if (quiet != TRUE)
524- printf("%s : Skipped...\n", name);
525- return read_size;
526- /* } */
520+ if (quiet != TRUE)
521+ printf("%s : Skipped...\n", name);
522+ return read_size;
527523 }
528524 }
529525
Show on old repository browser