Mike McCormack : msi: Remove some unused functions.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Oct 26 06:31:44 CDT 2006
Module: wine
Branch: master
Commit: 9b95c27c9c4aee02e45e81756904006b759d4b64
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9b95c27c9c4aee02e45e81756904006b759d4b64
Author: Mike McCormack <mike at codeweavers.com>
Date: Thu Oct 26 17:08:43 2006 +0900
msi: Remove some unused functions.
---
dlls/msi/alter.c | 22 ++--------------------
dlls/msi/delete.c | 22 ++--------------------
dlls/msi/join.c | 22 ++--------------------
3 files changed, 6 insertions(+), 60 deletions(-)
diff --git a/dlls/msi/alter.c b/dlls/msi/alter.c
index 396354c..24a11ab 100644
--- a/dlls/msi/alter.c
+++ b/dlls/msi/alter.c
@@ -58,24 +58,6 @@ static UINT ALTER_fetch_stream( struct t
return ERROR_FUNCTION_FAILED;
}
-static UINT ALTER_set_int( struct tagMSIVIEW *view, UINT row, UINT col, UINT val )
-{
- MSIALTERVIEW *av = (MSIALTERVIEW*)view;
-
- TRACE("%p %d %d %04x\n", av, row, col, val );
-
- return ERROR_FUNCTION_FAILED;
-}
-
-static UINT ALTER_insert_row( struct tagMSIVIEW *view, MSIRECORD *record )
-{
- MSIALTERVIEW *av = (MSIALTERVIEW*)view;
-
- TRACE("%p %p\n", av, record );
-
- return ERROR_FUNCTION_FAILED;
-}
-
static UINT ALTER_execute( struct tagMSIVIEW *view, MSIRECORD *record )
{
MSIALTERVIEW *av = (MSIALTERVIEW*)view;
@@ -146,8 +128,8 @@ static const MSIVIEWOPS alter_ops =
{
ALTER_fetch_int,
ALTER_fetch_stream,
- ALTER_set_int,
- ALTER_insert_row,
+ NULL,
+ NULL,
ALTER_execute,
ALTER_close,
ALTER_get_dimensions,
diff --git a/dlls/msi/delete.c b/dlls/msi/delete.c
index 6a9d62a..3e8d694 100644
--- a/dlls/msi/delete.c
+++ b/dlls/msi/delete.c
@@ -73,24 +73,6 @@ static UINT DELETE_fetch_stream( struct
return ERROR_FUNCTION_FAILED;
}
-static UINT DELETE_set_int( struct tagMSIVIEW *view, UINT row, UINT col, UINT val )
-{
- MSIDELETEVIEW *dv = (MSIDELETEVIEW*)view;
-
- TRACE("%p %d %d %04x\n", dv, row, col, val );
-
- return ERROR_FUNCTION_FAILED;
-}
-
-static UINT DELETE_insert_row( struct tagMSIVIEW *view, MSIRECORD *record )
-{
- MSIDELETEVIEW *dv = (MSIDELETEVIEW*)view;
-
- TRACE("%p %p\n", dv, record );
-
- return ERROR_FUNCTION_FAILED;
-}
-
static UINT DELETE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
{
MSIDELETEVIEW *dv = (MSIDELETEVIEW*)view;
@@ -195,8 +177,8 @@ static const MSIVIEWOPS delete_ops =
{
DELETE_fetch_int,
DELETE_fetch_stream,
- DELETE_set_int,
- DELETE_insert_row,
+ NULL,
+ NULL,
DELETE_execute,
DELETE_close,
DELETE_get_dimensions,
diff --git a/dlls/msi/join.c b/dlls/msi/join.c
index fda6b1b..3462521 100644
--- a/dlls/msi/join.c
+++ b/dlls/msi/join.c
@@ -103,24 +103,6 @@ static UINT JOIN_fetch_stream( struct ta
return table->ops->fetch_stream( table, row, col, stm );
}
-static UINT JOIN_set_int( struct tagMSIVIEW *view, UINT row, UINT col, UINT val )
-{
- MSIJOINVIEW *jv = (MSIJOINVIEW*)view;
-
- TRACE("%p %d %d %04x\n", jv, row, col, val );
-
- return ERROR_FUNCTION_FAILED;
-}
-
-static UINT JOIN_insert_row( struct tagMSIVIEW *view, MSIRECORD *record )
-{
- MSIJOINVIEW *jv = (MSIJOINVIEW*)view;
-
- TRACE("%p %p\n", jv, record );
-
- return ERROR_FUNCTION_FAILED;
-}
-
static int join_key_compare(const void *l, const void *r)
{
const UINT *left = l, *right = r;
@@ -345,8 +327,8 @@ static const MSIVIEWOPS join_ops =
{
JOIN_fetch_int,
JOIN_fetch_stream,
- JOIN_set_int,
- JOIN_insert_row,
+ NULL,
+ NULL,
JOIN_execute,
JOIN_close,
JOIN_get_dimensions,
More information about the wine-cvs
mailing list