Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
889ed19c
Commit
889ed19c
authored
Aug 26, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
137f0347
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/base/cmd/cmdHist.c
+1
-1
src/map/scl/sclTime.c
+1
-1
src/proof/fra/fraSim.c
+1
-1
No files found.
src/base/cmd/cmdHist.c
View file @
889ed19c
...
@@ -60,7 +60,7 @@ void Cmd_HistoryAddCommand( Abc_Frame_t * p, const char * command )
...
@@ -60,7 +60,7 @@ void Cmd_HistoryAddCommand( Abc_Frame_t * p, const char * command )
strncmp
(
Buffer
,
"source"
,
6
)
&&
strncmp
(
Buffer
,
"source"
,
6
)
&&
strncmp
(
Buffer
,
"history"
,
7
)
&&
strncmp
(
Buffer
,
"hi "
,
3
)
&&
strcmp
(
Buffer
,
"hi"
)
)
strncmp
(
Buffer
,
"history"
,
7
)
&&
strncmp
(
Buffer
,
"hi "
,
3
)
&&
strcmp
(
Buffer
,
"hi"
)
)
{
{
char
*
pStr
;
char
*
pStr
=
NULL
;
int
i
,
Start
=
Abc_MaxInt
(
0
,
Vec_PtrSize
(
p
->
aHistory
)
-
nLastLooked
);
int
i
,
Start
=
Abc_MaxInt
(
0
,
Vec_PtrSize
(
p
->
aHistory
)
-
nLastLooked
);
// do not enter if the same command appears among nLastLooked commands
// do not enter if the same command appears among nLastLooked commands
Vec_PtrForEachEntryStart
(
char
*
,
p
->
aHistory
,
pStr
,
i
,
Start
)
Vec_PtrForEachEntryStart
(
char
*
,
p
->
aHistory
,
pStr
,
i
,
Start
)
...
...
src/map/scl/sclTime.c
View file @
889ed19c
...
@@ -132,7 +132,7 @@ float Abc_SclTotalArea( SC_Man * p, Vec_Ptr_t * vNodes )
...
@@ -132,7 +132,7 @@ float Abc_SclTotalArea( SC_Man * p, Vec_Ptr_t * vNodes )
Vec_Flt_t
*
Abc_SclFindWireCaps
(
SC_Man
*
p
,
Vec_Ptr_t
*
vNodes
)
Vec_Flt_t
*
Abc_SclFindWireCaps
(
SC_Man
*
p
,
Vec_Ptr_t
*
vNodes
)
{
{
Vec_Flt_t
*
vCaps
=
NULL
;
Vec_Flt_t
*
vCaps
=
NULL
;
SC_WireLoad
*
pWL
;
SC_WireLoad
*
pWL
=
NULL
;
int
i
,
Entry
,
EntryPrev
,
EntryMax
;
int
i
,
Entry
,
EntryPrev
,
EntryMax
;
p
->
pWireLoadUsed
=
NULL
;
p
->
pWireLoadUsed
=
NULL
;
if
(
p
->
pLib
->
default_wire_load_sel
)
if
(
p
->
pLib
->
default_wire_load_sel
)
...
...
src/proof/fra/fraSim.c
View file @
889ed19c
...
@@ -894,7 +894,7 @@ Vec_Str_t * Fra_SmlSimulateReadFile( char * pFileName )
...
@@ -894,7 +894,7 @@ Vec_Str_t * Fra_SmlSimulateReadFile( char * pFileName )
Vec_StrPush
(
vRes
,
(
char
)(
c
-
'0'
)
);
Vec_StrPush
(
vRes
,
(
char
)(
c
-
'0'
)
);
else
if
(
c
!=
' '
&&
c
!=
'\r'
&&
c
!=
'\n'
&&
c
!=
'\t'
)
else
if
(
c
!=
' '
&&
c
!=
'\r'
&&
c
!=
'\n'
&&
c
!=
'\t'
)
{
{
printf
(
"File
\"
%s
\"
contains symbol (%c) other than
\'
0
\'
or
\'
1
\'
.
\n
"
,
(
char
)
c
);
printf
(
"File
\"
%s
\"
contains symbol (%c) other than
\'
0
\'
or
\'
1
\'
.
\n
"
,
pFileName
,
(
char
)
c
);
Vec_StrFreeP
(
&
vRes
);
Vec_StrFreeP
(
&
vRes
);
break
;
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment