Differences From:
File
src/manifest.c
part of check-in
[ce7900a0b6]
- Correct tag propagationl. Now works even when rebuilding in a randomized order.
by
drh on
2007-09-25 08:38:24.
[view]
To:
File
src/manifest.c
part of check-in
[e63a9fd9d0]
- Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc.
by
jnc on
2007-09-25 21:21:35.
Also file
src/manifest.c
part of check-in
[92291035fe]
- Merged the compiler warning fixes into mainstream
by
jnc on
2007-09-25 21:28:30.
[view]
@@ -573,8 +573,11 @@
switch( m.aTag[i].zName[0] ){
case '+': type = 1; break;
case '*': type = 2; break;
case '-': type = 0; break;
+ default:
+ fossil_fatal("unknown tag type in manifest: %s", m.aTag);
+ return 0;
}
tag_insert(&m.aTag[i].zName[1], type, m.aTag[i].zValue,
rid, m.rDate, tid);
}