DNN-6250 fix compilation warnings in clientAPI