File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -349,8 +349,8 @@ static void intif_parse_account_storage(int fd)
349
349
return ;
350
350
}
351
351
352
- struct storage_data * stor = NULL ;
353
- if (( stor = storage -> ensure ( sd , RFIFOW ( fd , 8 ))) == NULL )
352
+ struct storage_data * stor = storage -> ensure ( sd , RFIFOW ( fd , 8 )) ;
353
+ if (stor == NULL )
354
354
return ;
355
355
356
356
if (stor -> received == true) {
@@ -398,8 +398,8 @@ static void intif_send_account_storage(struct map_session_data *sd, int storage_
398
398
399
399
nullpo_retv (sd );
400
400
401
- struct storage_data * stor = NULL ;
402
- if (( stor = storage -> ensure ( sd , storage_id )) == NULL )
401
+ struct storage_data * stor = storage -> ensure ( sd , storage_id ) ;
402
+ if (stor == NULL )
403
403
return ;
404
404
405
405
// Assert that at this point in the code, both flags are true.
You can’t perform that action at this time.
0 commit comments