Artifact
df11fb436de85d4eecadd1c1b22c40b87e0bb39a:
Ticket change
[df11fb436d]
- New ticket
[f64f9b57eb] warnings introduced in db.c since checkin [2f58d48cab].
by
rwilson
2010-02-08 14:50:11.
0000: 44 20 32 30 31 30 2d 30 32 2d 30 38 54 31 34 3a D 2010-02-08T14:
0010: 35 30 3a 31 31 0a 4a 20 63 6f 6d 6d 65 6e 74 20 50:11.J comment
0020: 3c 70 72 65 3e 5c 72 5c 6e 67 63 63 5c 73 2d 4f <pre>\r\ngcc\s-O
0030: 73 5c 73 2d 57 61 6c 6c 5c 73 2d 44 46 4f 53 53 s\s-Wall\s-DFOSS
0040: 49 4c 5f 49 31 38 4e 3d 30 5c 73 2d 4c 2f 6d 69 IL_I18N=0\s-L/mi
0050: 6e 67 77 2f 6c 69 62 5c 73 2d 49 2f 6d 69 6e 67 ngw/lib\s-I/ming
0060: 77 2f 69 6e 63 6c 75 64 65 5c 73 5c 73 2d 49 2e w/include\s\s-I.
0070: 5c 73 2d 49 2e 2f 73 72 63 5c 73 2d 6f 5c 73 64 \s-I./src\s-o\sd
0080: 62 2e 6f 5c 73 2d 63 5c 73 64 62 5f 2e 63 5c 72 b.o\s-c\sdb_.c\r
0090: 5c 6e 64 62 5f 2e 63 3a 5c 73 49 6e 5c 73 66 75 \ndb_.c:\sIn\sfu
00a0: 6e 63 74 69 6f 6e 5c 73 60 64 62 5f 69 6e 69 74 nction\s`db_init
00b0: 5f 64 61 74 61 62 61 73 65 27 3a 5c 72 5c 6e 64 _database':\r\nd
00c0: 62 5f 2e 63 3a 35 33 33 3a 5c 73 77 61 72 6e 69 b_.c:533:\swarni
00d0: 6e 67 3a 5c 73 69 6d 70 6c 69 63 69 74 5c 73 64 ng:\simplicit\sd
00e0: 65 63 6c 61 72 61 74 69 6f 6e 5c 73 6f 66 5c 73 eclaration\sof\s
00f0: 66 75 6e 63 74 69 6f 6e 5c 73 60 73 71 6c 69 74 function\s`sqlit
0100: 65 33 5f 77 69 6e 33 32 5f 6d 62 63 73 5f 74 6f e3_win32_mbcs_to
0110: 5f 75 74 66 38 27 5c 72 5c 6e 64 62 5f 2e 63 3a _utf8'\r\ndb_.c:
0120: 35 33 33 3a 5c 73 77 61 72 6e 69 6e 67 3a 5c 73 533:\swarning:\s
0130: 61 73 73 69 67 6e 6d 65 6e 74 5c 73 6d 61 6b 65 assignment\smake
0140: 73 5c 73 70 6f 69 6e 74 65 72 5c 73 66 72 6f 6d s\spointer\sfrom
0150: 5c 73 69 6e 74 65 67 65 72 5c 73 77 69 74 68 6f \sinteger\switho
0160: 75 74 5c 73 61 5c 73 63 61 73 74 5c 72 5c 6e 64 ut\sa\scast\r\nd
0170: 62 5f 2e 63 3a 5c 73 49 6e 5c 73 66 75 6e 63 74 b_.c:\sIn\sfunct
0180: 69 6f 6e 5c 73 60 6f 70 65 6e 44 61 74 61 62 61 ion\s`openDataba
0190: 73 65 27 3a 5c 72 5c 6e 64 62 5f 2e 63 3a 35 36 se':\r\ndb_.c:56
01a0: 38 3a 5c 73 77 61 72 6e 69 6e 67 3a 5c 73 61 73 8:\swarning:\sas
01b0: 73 69 67 6e 6d 65 6e 74 5c 73 6d 61 6b 65 73 5c signment\smakes\
01c0: 73 70 6f 69 6e 74 65 72 5c 73 66 72 6f 6d 5c 73 spointer\sfrom\s
01d0: 69 6e 74 65 67 65 72 5c 73 77 69 74 68 6f 75 74 integer\swithout
01e0: 5c 73 61 5c 73 63 61 73 74 5c 72 5c 6e 64 62 5f \sa\scast\r\ndb_
01f0: 2e 63 3a 5c 73 49 6e 5c 73 66 75 6e 63 74 69 6f .c:\sIn\sfunctio
0200: 6e 5c 73 60 64 62 5f 6f 70 65 6e 5f 6f 72 5f 61 n\s`db_open_or_a
0210: 74 74 61 63 68 27 3a 5c 72 5c 6e 64 62 5f 2e 63 ttach':\r\ndb_.c
0220: 3a 35 39 34 3a 5c 73 77 61 72 6e 69 6e 67 3a 5c :594:\swarning:\
0230: 73 61 73 73 69 67 6e 6d 65 6e 74 5c 73 6d 61 6b sassignment\smak
0240: 65 73 5c 73 70 6f 69 6e 74 65 72 5c 73 66 72 6f es\spointer\sfro
0250: 6d 5c 73 69 6e 74 65 67 65 72 5c 73 77 69 74 68 m\sinteger\swith
0260: 6f 75 74 5c 73 61 5c 73 63 61 73 74 5c 72 5c 6e out\sa\scast\r\n
0270: 3c 2f 70 72 65 3e 0a 4a 20 66 6f 75 6e 64 69 6e </pre>.J foundin
0280: 20 30 31 61 37 36 39 61 39 66 61 0a 4a 20 70 72 01a769a9fa.J pr
0290: 69 76 61 74 65 5f 63 6f 6e 74 61 63 74 20 32 33 ivate_contact 23
02a0: 35 39 30 38 39 65 66 37 35 33 62 63 39 36 65 31 59089ef753bc96e1
02b0: 32 37 34 33 65 32 39 39 32 34 33 64 35 32 33 32 2743e299243d5232
02c0: 63 37 34 39 66 61 0a 4a 20 73 65 76 65 72 69 74 c749fa.J severit
02d0: 79 20 4d 69 6e 6f 72 0a 4a 20 73 74 61 74 75 73 y Minor.J status
02e0: 20 4f 70 65 6e 0a 4a 20 74 69 74 6c 65 20 77 61 Open.J title wa
02f0: 72 6e 69 6e 67 73 5c 73 69 6e 74 72 6f 64 75 63 rnings\sintroduc
0300: 65 64 5c 73 69 6e 5c 73 64 62 2e 63 5c 73 73 69 ed\sin\sdb.c\ssi
0310: 6e 63 65 5c 73 63 68 65 63 6b 69 6e 5c 73 5b 32 nce\scheckin\s[2
0320: 66 35 38 64 34 38 63 61 62 5d 0a 4a 20 74 79 70 f58d48cab].J typ
0330: 65 20 43 6f 64 65 5f 44 65 66 65 63 74 0a 4b 20 e Code_Defect.K
0340: 66 36 34 66 39 62 35 37 65 62 34 39 66 37 39 31 f64f9b57eb49f791
0350: 37 65 36 32 33 38 63 32 63 35 33 39 39 64 61 35 7e6238c2c5399da5
0360: 63 31 31 39 63 65 33 65 0a 55 20 72 77 69 6c 73 c119ce3e.U rwils
0370: 6f 6e 0a 5a 20 31 64 63 63 65 33 38 63 37 33 33 on.Z 1dcce38c733
0380: 36 63 63 37 62 63 61 38 63 35 66 36 36 35 36 36 6cc7bca8c5f66566
0390: 37 35 31 63 66 0a 751cf.