mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	Silence two more compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3307 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									5dfaa1aba0
								
							
						
					
					
						commit
						3ead1e4d9e
					
				@ -547,7 +547,6 @@ void MainWindow::dataSink(int k)
 | 
			
		||||
  static float s[NSMAX],red[NSMAX];
 | 
			
		||||
  static int ihsym=0;
 | 
			
		||||
  static int nzap=0;
 | 
			
		||||
  static int nb;
 | 
			
		||||
  static int trmin;
 | 
			
		||||
  static int npts8;
 | 
			
		||||
  static float px=0.0;
 | 
			
		||||
@ -560,8 +559,6 @@ void MainWindow::dataSink(int k)
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
// Get power, spectrum, and ihsym
 | 
			
		||||
  nb=0;
 | 
			
		||||
  if(m_NB) nb=1;
 | 
			
		||||
  trmin=m_TRperiod/60;
 | 
			
		||||
  symspec_(&k,&trmin,&m_nsps,&m_inGain,&px,s,red,&df3,&ihsym,&npts8);
 | 
			
		||||
  if(ihsym <=0) return;
 | 
			
		||||
 | 
			
		||||
@ -73,7 +73,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer,
 | 
			
		||||
//    nspd=3072;                           //18.75 WPM
 | 
			
		||||
    nspd=2048 + 512;                       //22.5 WPM
 | 
			
		||||
    int ic0=85*4*udata->nsps;
 | 
			
		||||
    for(int i=0 ; i<framesToProcess; i++ )  {
 | 
			
		||||
    for(uint i=0 ; i<framesToProcess; i++ )  {
 | 
			
		||||
      phi += dphi;
 | 
			
		||||
      if(phi>twopi) phi -= twopi;
 | 
			
		||||
      i2=32767.0*sin(phi);
 | 
			
		||||
 | 
			
		||||
@ -45,7 +45,8 @@ HEADERS  += mainwindow.h plotter.h soundin.h soundout.h \
 | 
			
		||||
            commons.h sleep.h displaytext.h logqso.h \
 | 
			
		||||
            psk_reporter.h rigclass.h
 | 
			
		||||
 | 
			
		||||
DEFINES += __cplusplus
 | 
			
		||||
# (Is the following really needed???)
 | 
			
		||||
#DEFINES += __cplusplus
 | 
			
		||||
 | 
			
		||||
FORMS    += mainwindow.ui about.ui devsetup.ui widegraph.ui \
 | 
			
		||||
    logqso.ui
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user