aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-10-13 01:01:14 +0000
committerdrh <drh@noemail.net>2011-10-13 01:01:14 +0000
commitb87a6663152f57f65d1afa907b5739dfe6d4658e (patch)
tree09c0d0fe7915568476680e2a9dffe07ddd1eb9b4 /src/os_unix.c
parent2f464a045bb69c52007765ca7cfc9053b8d5c266 (diff)
downloadsqlite-b87a6663152f57f65d1afa907b5739dfe6d4658e.tar.gz
sqlite-b87a6663152f57f65d1afa907b5739dfe6d4658e.zip
Fix a harmless compiler warning introduced into os_unix.c by one of the
recent changes. FossilOrigin-Name: 4bf4d5ebfbf5d157a8bf3a3817e2ce350f25af0e
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 7e0a7e840..e0025229f 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -5466,7 +5466,7 @@ static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
** return 0. Return 1 if the time and date cannot be found.
*/
static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){
- sqlite3_int64 i;
+ sqlite3_int64 i = 0;
int rc;
UNUSED_PARAMETER(NotUsed);
rc = unixCurrentTimeInt64(0, &i);