diff options
| author | Peter Pettersson <boretrk@hotmail.com> | 2021-10-22 22:51:59 +0200 |
|---|---|---|
| committer | Peter Pettersson <boretrk@hotmail.com> | 2021-11-15 16:45:40 +0100 |
| commit | 7dcc29fc4652caeb09de39827cfd1a80726b5995 (patch) | |
| tree | 74992ead7b05460f0d6a9fcc894f3dc9a3cbaea7 /examples | |
| parent | 43d9f0e3fe96823d88475fd9edae07732c84dbc8 (diff) | |
| download | libgit2-7dcc29fc4652caeb09de39827cfd1a80726b5995.tar.gz | |
Make enum in src,tests and examples C90 compliant by removing trailing comma.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/add.c | 2 | ||||
| -rw-r--r-- | examples/remote.c | 2 | ||||
| -rw-r--r-- | examples/status.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/add.c b/examples/add.c index 4ff7c79e2..1c93b1140 100644 --- a/examples/add.c +++ b/examples/add.c @@ -28,7 +28,7 @@ enum index_mode { INDEX_NONE, - INDEX_ADD, + INDEX_ADD }; struct index_options { diff --git a/examples/remote.c b/examples/remote.c index 57f758c6c..14fac030c 100644 --- a/examples/remote.c +++ b/examples/remote.c @@ -27,7 +27,7 @@ enum subcmd { subcmd_remove, subcmd_rename, subcmd_seturl, - subcmd_show, + subcmd_show }; struct remote_opts { diff --git a/examples/status.c b/examples/status.c index 8cf922127..e659efb05 100644 --- a/examples/status.c +++ b/examples/status.c @@ -38,7 +38,7 @@ enum { FORMAT_DEFAULT = 0, FORMAT_LONG = 1, FORMAT_SHORT = 2, - FORMAT_PORCELAIN = 3, + FORMAT_PORCELAIN = 3 }; #define MAX_PATHSPEC 8 |
