Skip to content

Commit eb2d83a

Browse files
committed
pre5.2-2: Changed a /* drop */ comment to /* fall through */ to avoid a gcc warning
1 parent 4697cd6 commit eb2d83a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

changes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
-*- mode: text; mode: fold -*-
22
Changes since 5.1.0
33
1. src/most.c: Ignore empty filenames on the command line
4+
2. src/cmd.c: Changed /* drop */ to /* fall through */ to avoid a
5+
gcc-8 warning in a switch statement
46

57
Changes since 5.0.0
68
1. src/Makefile.in: Install docs in $prefix/share/doc

src/cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ void most_extended_key_cmd (void)
279279
most_delete_file_cmd ();
280280
break;
281281
}
282-
/* drop */
282+
/* fall through */
283283
default:
284284
most_message ("Invalid option.", 1);
285285
}

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
#ifndef MOST_VERSION
2121
#define MOST_VERSION 50200
2222

23-
#define MOST_VERSION_STR "pre5.2-1"
23+
#define MOST_VERSION_STR "pre5.2-2"
2424
#endif /* MOST_VERSION */

0 commit comments

Comments
 (0)