askbook / csharp-sqlite

Automatically exported from code.google.com/p/csharp-sqlite
Other
0 stars 0 forks source link

73 warnings and 2 Errors compiling on Mono .NET 3.5 #157

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Community.CsharpSqlite with MonoDevelop 3
2. Change Target Framework to Mono / .NET 3.5
3. Compile

What is the expected output? 

Compilation completed.

What do you see instead?

/Community.CsharpSqlite/src/attach_c.cs(313,10): warning CS1717: Assignment 
made to same variable; did you mean to assign something else?
/Community.CsharpSqlite/src/attach_c.cs(378,7): warning CS0219: The variable 
`rc' is assigned but its value is never used
/Community.CsharpSqlite/src/btree_c.cs(2147,38): warning CS0429: Unreachable 
expression code detected
/Community.CsharpSqlite/src/btree_c.cs(2148,38): warning CS0429: Unreachable 
expression code detected
/Community.CsharpSqlite/src/btree_c.cs(2669,8): warning CS0219: The variable 
`nPageHeader' is assigned but its value is never used
/Community.CsharpSqlite/src/btree_c.cs(7758,16): warning CS0219: The variable 
`pSpace' is assigned but its value is never used
/Community.CsharpSqlite/src/btree_c.cs(9204,17): warning CS0219: The variable 
`zErr' is assigned but its value is never used
/Community.CsharpSqlite/src/build_c.cs(2651,15): warning CS0219: The variable 
`n' is assigned but its value is never used
/Community.CsharpSqlite/src/crypto.cs(549,15): warning CS0219: The variable 
`pPager' is assigned but its value is never used
/Community.CsharpSqlite/src/delete_c.cs(262,14): warning CS0219: The variable 
`zDb' is assigned but its value is never used
/Community.CsharpSqlite/src/delete_c.cs(269,19): warning CS0219: The variable 
`sContext' is assigned but its value is never used
/Community.CsharpSqlite/src/expr_c.cs(946,14): warning CS0219: The variable 
`zAlloc' is assigned but its value is never used
/Community.CsharpSqlite/src/expr_c.cs(971,15): warning CS0219: The variable 
`nNewSize' is assigned but its value is never used
/Community.CsharpSqlite/src/expr_c.cs(988,17): warning CS0219: The variable 
`nSize' is assigned but its value is never used
/Community.CsharpSqlite/src/expr_c.cs(1005,20): warning CS0219: The variable 
`zToken' is assigned but its value is never used
/Community.CsharpSqlite/src/expr_c.cs(1236,15): warning CS0219: The variable 
`db' is assigned but its value is never used
/Community.CsharpSqlite/src/func_c.cs(1263,11): warning CS0219: The variable 
`nPattern' is assigned but its value is never used
/Community.CsharpSqlite/src/func_c.cs(1264,11): warning CS0219: The variable 
`nRep' is assigned but its value is never used
/Community.CsharpSqlite/src/insert_c.cs(92,17): warning CS0219: The variable 
`db' is assigned but its value is never used
/Community.CsharpSqlite/src/insert_c.cs(137,17): warning CS0219: The variable 
`db' is assigned but its value is never used
/Community.CsharpSqlite/src/insert_c.cs(506,14): warning CS0219: The variable 
`zDb' is assigned but its value is never used
/Community.CsharpSqlite/src/loadext_c.cs(439,14): warning CS0219: The variable 
`xInit' is assigned but its value is never used
/Community.CsharpSqlite/src/main_c.cs(259,23): warning CS0219: The variable 
`pHash' is assigned but its value is never used
/Community.CsharpSqlite/src/main_c.cs(863,11): warning CS0219: The variable `n' 
is assigned but its value is never used
/Community.CsharpSqlite/src/memjournal_c.cs(227,19): warning CS0219: The 
variable `pTmp' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(837,25): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(940,25): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1002,27): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1071,27): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1235,27): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1334,29): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1387,27): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1434,27): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1513,29): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1566,27): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(1580,27): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(2655,29): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(2819,31): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(2850,31): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(2958,31): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(2975,27): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/os_win_c.cs(3068,28): warning CS0219: The variable 
`e' is assigned but its value is never used
/Community.CsharpSqlite/src/pager_c.cs(4255,12): warning CS0219: The variable 
`pTmp' is assigned but its value is never used
/Community.CsharpSqlite/src/pager_c.cs(4883,11): warning CS0219: The variable 
`journalFileSize' is assigned but its value is never used
/Community.CsharpSqlite/src/pager_c.cs(4888,11): warning CS0219: The variable 
`pcacheSize' is assigned but its value is never used
/Community.CsharpSqlite/src/pager_c.cs(4891,11): warning CS0219: The variable 
`nUri' is assigned but its value is never used
/Community.CsharpSqlite/src/pager_c.cs(4927,16): warning CS0219: The variable 
`z' is assigned but its value is never used
/Community.CsharpSqlite/src/pcache1_c.cs(735,9): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/pragma_c.cs(1783,71): warning CS0219: The variable 
`pPager' is assigned but its value is never used
/Community.CsharpSqlite/src/random_c.cs(140,12): warning CS0219: The variable 
`zBuf' is assigned but its value is never used
/Community.CsharpSqlite/src/resolve_c.cs(1119,15): warning CS0219: The variable 
`db' is assigned but its value is never used
/Community.CsharpSqlite/src/select_c.cs(441,17): warning CS0219: The variable 
`iRightCol' is assigned but its value is never used
/Community.CsharpSqlite/src/select_c.cs(1587,15): warning CS0219: The variable 
`db' is assigned but its value is never used
/Community.CsharpSqlite/src/select_c.cs(4044,15): warning CS0219: The variable 
`db' is assigned but its value is never used
/Community.CsharpSqlite/src/trigger_c.cs(124,11): warning CS0219: The variable 
`iTabDb' is assigned but its value is never used
/Community.CsharpSqlite/src/util_c.cs(921,11): warning CS0219: The variable 
`result' is assigned but its value is never used
/Community.CsharpSqlite/src/vdbeapi_c.cs(809,13): warning CS0219: The variable 
`nMalloc' is assigned but its value is never used
/Community.CsharpSqlite/src/vdbeapi_c.cs(1439,13): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbeaux_c.cs(1124,13): warning CS0219: The variable 
`nField' is assigned but its value is never used
/Community.CsharpSqlite/src/vdbeaux_c.cs(1554,17): warning CS0219: The variable 
`db' is assigned but its value is never used
/Community.CsharpSqlite/src/vdbeaux_c.cs(2135,45): error CS0172: Type of 
conditional expression cannot be determined as `int' and `short' convert 
implicitly to each other
/Community.CsharpSqlite/src/vdbeaux_c.cs(3392,7): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbeaux_c.cs(3549,9): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbemem_c.cs(52,9): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbemem_c.cs(752,9): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbemem_c.cs(1359,9): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbemem_c.cs(1596,9): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbetrace_c.cs(186,11): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbe_c.cs(248,44): warning CS0429: Unreachable 
expression code detected
/Community.CsharpSqlite/src/vdbe_c.cs(523,9): warning CS0162: Unreachable code 
detected
/Community.CsharpSqlite/src/vdbe_c.cs(3024,53): warning CS0429: Unreachable 
expression code detected
/Community.CsharpSqlite/src/vdbe_c.cs(3025,17): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbe_c.cs(3033,17): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbe_c.cs(4738,15): warning CS0162: Unreachable 
code detected
/Community.CsharpSqlite/src/vdbe_c.cs(6873,72): error CS0172: Type of 
conditional expression cannot be determined as `int' and `byte' convert 
implicitly to each other

What version of the product are you using? 

3.7.7.1

On what operating system?

OSX 10.6

Please provide any additional information below.

Original issue reported on code.google.com by alessand...@ilz.it on 15 May 2012 at 1:32

GoogleCodeExporter commented 8 years ago
Are you using the zip file or downloaded source?

Original comment by noah.hart@gmail.com on 15 May 2012 at 1:48

GoogleCodeExporter commented 8 years ago
I downloaded this file:
http://code.google.com/p/csharp-sqlite/downloads/detail?name=csharp-sqlite_3_7_7
_1_71.zip&can=2&q=

Original comment by alessand...@ilz.it on 15 May 2012 at 1:52

GoogleCodeExporter commented 8 years ago
The zip file comment is:

All source files for C#-SQLite as of changeset 498d214eef72, 

NOTE:  This is not the recommended way to get the source code.  

There is no expectation that updates will be posted into this file

Much better to download the current project from 
http://code.google.com/p/csharp-sqlite/source/checkout

Please pull current code and reopen if the issue still exists.

Original comment by noah.hart@gmail.com on 15 May 2012 at 1:55