diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 10:26:25 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:26:29 +0100 |
commit | 03613cc7fb190dd94623ebe96c72329d4f1d1475 (patch) | |
tree | 4b4ac768ebb0eca1b6dc2e1604b3caa8edb0f5ef /libmsi/table.c | |
parent | ee54109d9b784c72b25418933494e0691f42c2e8 (diff) | |
download | msitools-03613cc7fb190dd94623ebe96c72329d4f1d1475.tar.gz msitools-03613cc7fb190dd94623ebe96c72329d4f1d1475.tar.xz msitools-03613cc7fb190dd94623ebe96c72329d4f1d1475.zip |
split multiple declarations on a single line
Diffstat (limited to 'libmsi/table.c')
-rw-r--r-- | libmsi/table.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libmsi/table.c b/libmsi/table.c index 3c0dea2..4ef0dca 100644 --- a/libmsi/table.c +++ b/libmsi/table.c @@ -129,7 +129,8 @@ LPWSTR encode_streamname(BOOL bTable, LPCWSTR in) { DWORD count = MAX_STREAM_NAME; DWORD ch, next; - LPWSTR out, p; + LPWSTR out; + LPWSTR p; if( !bTable ) count = lstrlenW( in )+2; @@ -1054,7 +1055,8 @@ static UINT TABLE_fetch_int( struct tagMSIVIEW *view, UINT row, UINT col, UINT * static UINT msi_stream_name( const MSITABLEVIEW *tv, UINT row, LPWSTR *pstname ) { - LPWSTR p, stname = NULL; + LPWSTR p; + LPWSTR stname = NULL; UINT i, r, type, ival; DWORD len; LPCWSTR sval; @@ -1147,7 +1149,8 @@ static UINT TABLE_fetch_stream( struct tagMSIVIEW *view, UINT row, UINT col, ISt { MSITABLEVIEW *tv = (MSITABLEVIEW*)view; UINT r; - LPWSTR encname, full_name = NULL; + LPWSTR encname; + LPWSTR full_name = NULL; if( !view->ops->fetch_int ) return ERROR_INVALID_PARAMETER; @@ -2231,7 +2234,9 @@ static UINT read_raw_int(const BYTE *data, UINT col, UINT bytes) static UINT msi_record_encoded_stream_name( const MSITABLEVIEW *tv, MSIRECORD *rec, LPWSTR *pstname ) { - LPWSTR stname = NULL, sval, p; + LPWSTR stname = NULL; + LPWSTR sval; + LPWSTR p; DWORD len; UINT i, r; |