unused function in c++ program

In my code for C++ class I am using the  function  void getWidth( int width); in CLion 

but function is throwing a warning that it is an unused function.  I have tried going to inpections but could not solve my problem  .

0

Hello!

Please provide a simple code sample with which the issue can be reproduced.

0

请先登录再写评论。