Browse Source

modules/pua: do not override send_publish return value at error

Juha Heinanen 10 năm trước cách đây
mục cha
commit
0ac4c8e579
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      modules/pua/send_publish.c

+ 0 - 1
modules/pua/send_publish.c

@@ -716,7 +716,6 @@ done:
 	goto finish;
 	goto finish;
 
 
 error:
 error:
-	ret = -1;
 	if(cb_param)
 	if(cb_param)
 		shm_free(cb_param);
 		shm_free(cb_param);