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  .

1 comment


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


Please sign in to leave a comment.