remove build warning message master
authora0220410 <peter-li@ti.com>
Tue, 9 Aug 2016 15:24:54 +0000 (23:24 +0800)
committera0220410 <peter-li@ti.com>
Tue, 9 Aug 2016 15:24:54 +0000 (23:24 +0800)
main.c

diff --git a/main.c b/main.c
index 5db46c3cdba8d52ab7d8fb6cf5ec30bd3e21884c..fdee14f56757a20fb12297a0550dcb48f53a35eb 100755 (executable)
--- a/main.c
+++ b/main.c
@@ -649,7 +649,7 @@ err:
        return err;
 }
 
-static int TiAudio_Timestamp(int fileHandle, int argc, char **argv){
+static int TiAudio_Timestamp(int fileHandle){
        int err = -1;
        unsigned char pBuff[4];
        
@@ -684,7 +684,7 @@ err:
        return err;
 }
 
-static int TiAudio_TriggerFWReload(int fileHandle, int argc, char **argv){
+static int TiAudio_TriggerFWReload(int fileHandle){
        int err = -1;
        unsigned char pBuff[4]; 
        pBuff[0] = TIAUDIO_CMD_FW_RELOAD;
@@ -759,10 +759,10 @@ int main(int argc, char **argv)
                        ret = TiAudio_SpeakerOn(fileHandle, argc, argv);
                        break;                          
                case 't':
-                       ret = TiAudio_Timestamp(fileHandle, argc, argv);
+                       ret = TiAudio_Timestamp(fileHandle);
                        break;          
                case 'f':
-                       ret = TiAudio_TriggerFWReload(fileHandle, argc, argv);
+                       ret = TiAudio_TriggerFWReload(fileHandle);
                        break;
                default:
                        usage();