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
1 comment

Hello!

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

0

Please sign in to leave a comment.