File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,11 +215,11 @@ client::try_commit(void) {
215215 m_client.commit ();
216216 __CPP_REDIS_LOG (info, " cpp_redis::client sent pipelined commands" );
217217 }
218- catch (const cpp_redis::redis_error& e ) {
218+ catch (const cpp_redis::redis_error&) {
219219 __CPP_REDIS_LOG (error, " cpp_redis::client could not send pipelined commands" );
220220 // ! ensure commands are flushed
221221 clear_callbacks ();
222- throw e ;
222+ throw ;
223223 }
224224}
225225
Original file line number Diff line number Diff line change @@ -276,10 +276,10 @@ sentinel::try_commit(void) {
276276 m_client.commit ();
277277 __CPP_REDIS_LOG (info, " cpp_redis::sentinel sent pipelined commands" );
278278 }
279- catch (const cpp_redis::redis_error& e ) {
279+ catch (const cpp_redis::redis_error&) {
280280 __CPP_REDIS_LOG (error, " cpp_redis::sentinel could not send pipelined commands" );
281281 clear_callbacks ();
282- throw e ;
282+ throw ;
283283 }
284284}
285285
Original file line number Diff line number Diff line change @@ -252,9 +252,9 @@ subscriber::commit(void) {
252252 m_client.commit ();
253253 __CPP_REDIS_LOG (info, " cpp_redis::subscriber sent pipelined commands" );
254254 }
255- catch (const cpp_redis::redis_error& e ) {
255+ catch (const cpp_redis::redis_error&) {
256256 __CPP_REDIS_LOG (error, " cpp_redis::subscriber could not send pipelined commands" );
257- throw e ;
257+ throw ;
258258 }
259259
260260 return *this ;
You can’t perform that action at this time.
0 commit comments