diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/fossil/disk.c | 10 | ||||
-rw-r--r-- | src/libndb/ndbreorder.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/cmd/fossil/disk.c b/src/cmd/fossil/disk.c index 04ea5cdd..61370dd8 100644 --- a/src/cmd/fossil/disk.c +++ b/src/cmd/fossil/disk.c @@ -34,11 +34,11 @@ struct Disk { /* keep in sync with Part* enum in dat.h */ static char *partname[] = { - [PartError] "error", - [PartSuper] "super", - [PartLabel] "label", - [PartData] "data", - [PartVenti] "venti", + [PartError] = "error", + [PartSuper] = "super", + [PartLabel] = "label", + [PartData] = "data", + [PartVenti] = "venti", }; Disk * diff --git a/src/libndb/ndbreorder.c b/src/libndb/ndbreorder.c index 167d0a0a..390d7818 100644 --- a/src/libndb/ndbreorder.c +++ b/src/libndb/ndbreorder.c @@ -38,7 +38,7 @@ ndbreorder(Ndbtuple *t, Ndbtuple *x) if(x != last->line){ /* find entry before x */ - for(prev = last; prev->line != x; prev = prev->line); + for(prev = last; prev->line != x; prev = prev->line) ; /* detach line */ |