Module: wine Branch: master Commit: 2956605d6107dc7607fc7fb547c21c72e62500fd URL: http://source.winehq.org/git/wine.git/?a=commit;h=2956605d6107dc7607fc7fb547... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Tue May 20 22:03:05 2008 +0100 user32: Remove unused function. --- dlls/user32/message.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/dlls/user32/message.c b/dlls/user32/message.c index 542298a..ce18acd 100644 --- a/dlls/user32/message.c +++ b/dlls/user32/message.c @@ -244,14 +244,6 @@ static inline void push_string( struct packed_message *data, LPCWSTR str ) push_data( data, str, (strlenW(str) + 1) * sizeof(WCHAR) ); } -/* retrieve a pointer to data from a packed message and increment the buffer pointer */ -static inline void *get_data( void **buffer, size_t size ) -{ - void *ret = *buffer; - *buffer = (char *)*buffer + size; - return ret; -} - /* make sure that the buffer contains a valid null-terminated Unicode string */ static inline BOOL check_string( LPCWSTR str, size_t size ) {