Fix unused variable in the example code