mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
cabinet: Simplify code in fdi_decomp().
This commit is contained in:
parent
fed00cb82e
commit
cd7aecd52a
1 changed files with 1 additions and 1 deletions
|
@ -2107,7 +2107,7 @@ static int fdi_decomp(const struct fdi_file *fi, int savemode, fdi_decomp_state
|
|||
|
||||
do {
|
||||
|
||||
pathlen = (userpath) ? strlen(userpath) : 0;
|
||||
pathlen = strlen(userpath);
|
||||
filenamelen = (cab->mii.nextname) ? strlen(cab->mii.nextname) : 0;
|
||||
|
||||
/* slight overestimation here to save CPU cycles in the developer's brain */
|
||||
|
|
Loading…
Reference in a new issue