mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Make enum in src,tests and examples C90 compliant by removing trailing comma.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
enum index_mode {
|
||||
INDEX_NONE,
|
||||
INDEX_ADD,
|
||||
INDEX_ADD
|
||||
};
|
||||
|
||||
struct index_options {
|
||||
|
||||
@@ -27,7 +27,7 @@ enum subcmd {
|
||||
subcmd_remove,
|
||||
subcmd_rename,
|
||||
subcmd_seturl,
|
||||
subcmd_show,
|
||||
subcmd_show
|
||||
};
|
||||
|
||||
struct remote_opts {
|
||||
|
||||
@@ -38,7 +38,7 @@ enum {
|
||||
FORMAT_DEFAULT = 0,
|
||||
FORMAT_LONG = 1,
|
||||
FORMAT_SHORT = 2,
|
||||
FORMAT_PORCELAIN = 3,
|
||||
FORMAT_PORCELAIN = 3
|
||||
};
|
||||
|
||||
#define MAX_PATHSPEC 8
|
||||
|
||||
Reference in New Issue
Block a user